Share via


IMediaDataServiceContext.AttachTo Method (String, Object, String)

Notifies the System.Data.Services.Client.DataServiceContext to start tracking the specified resource and supplies the location of the resource in the specified resource set.

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

Syntax

'Declaration
Sub AttachTo ( _
    entitySetName As String, _
    entity As Object, _
    etag As String _
)
'Usage
Dim instance As IMediaDataServiceContext 
Dim entitySetName As String 
Dim entity As Object 
Dim etag As String

instance.AttachTo(entitySetName, entity, _
    etag)
void AttachTo(
    string entitySetName,
    Object entity,
    string etag
)
void AttachTo(
    String^ entitySetName, 
    Object^ entity, 
    String^ etag
)
abstract AttachTo : 
        entitySetName:string * 
        entity:Object * 
        etag:string -> unit
function AttachTo(
    entitySetName : String, 
    entity : Object, 
    etag : String
)

Parameters

  • entitySetName
    Type: System.String
    The string value that contains the name of the entity set to which to the entity is attached.
  • etag
    Type: System.String
    An etag value that represents the state of the entity the last time it was retrieved from the data service. This value is treated as an opaque string; no validation is performed on it by the client library.

See Also

Reference

IMediaDataServiceContext Interface

AttachTo Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace