IMediaDataServiceContext.AddLink Method
Adds the specified link to the set of objects the System.Data.Services.Client.DataServiceContext is tracking.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Sub AddLink ( _
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.AddLink(source, sourceProperty, _
target)
void AddLink(
Object source,
string sourceProperty,
Object target
)
void AddLink(
Object^ source,
String^ sourceProperty,
Object^ target
)
abstract AddLink :
source:Object *
sourceProperty:string *
target:Object -> unit
function AddLink(
source : Object,
sourceProperty : String,
target : Object
)
Parameters
- source
Type: System.Object
The source object for the new link.
- sourceProperty
Type: System.String
The name of the navigation property on the source object that returns the related object.
- target
Type: System.Object
The object related to the source object by the new link.