Share via


IMediaDataServiceContext.DeleteLink Method

Changes the state of the link to deleted in the list of links being tracked by the System.Data.Services.Client.DataServiceContext.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Sub DeleteLink ( _
    source As Object, _
    sourceProperty As String, _
    target As Object _
)
'Usage
Dim instance As IMediaDataServiceContext 
Dim source As Object 
Dim sourceProperty As String 
Dim target As Object

instance.DeleteLink(source, sourceProperty, _
    target)
void DeleteLink(
    Object source,
    string sourceProperty,
    Object target
)
void DeleteLink(
    Object^ source, 
    String^ sourceProperty, 
    Object^ target
)
abstract DeleteLink : 
        source:Object * 
        sourceProperty:string * 
        target:Object -> unit
function DeleteLink(
    source : Object, 
    sourceProperty : String, 
    target : Object
)

Parameters

  • source
    Type: System.Object
    The source object in the link to be marked for deletion.
  • sourceProperty
    Type: System.String
    The name of the navigation property on the source object that is used to access the target object.
  • target
    Type: System.Object
    The target object involved in the link that is bound to the source object. The target object must be of the type identified by the source property or a subtype.

See Also

Reference

IMediaDataServiceContext Interface

Microsoft.WindowsAzure.MediaServices.Client Namespace