Udostępnij za pośrednictwem


IDataServiceStreamProvider2.GetStreamETag Method (Object, ResourceProperty, DataServiceOperationContext)

Returns the eTag of the specified named stream.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Function GetStreamETag ( _
    entity As Object, _
    streamProperty As ResourceProperty, _
    operationContext As DataServiceOperationContext _
) As String
'Usage
Dim instance As IDataServiceStreamProvider2 
Dim entity As Object 
Dim streamProperty As ResourceProperty 
Dim operationContext As DataServiceOperationContext 
Dim returnValue As String 

returnValue = instance.GetStreamETag(entity, _
    streamProperty, operationContext)
string GetStreamETag(
    Object entity,
    ResourceProperty streamProperty,
    DataServiceOperationContext operationContext
)
String^ GetStreamETag(
    Object^ entity, 
    ResourceProperty^ streamProperty, 
    DataServiceOperationContext^ operationContext
)
abstract GetStreamETag : 
        entity:Object * 
        streamProperty:ResourceProperty * 
        operationContext:DataServiceOperationContext -> string
function GetStreamETag(
    entity : Object, 
    streamProperty : ResourceProperty, 
    operationContext : DataServiceOperationContext
) : String

Parameters

  • entity
    Type: System.Object
    The entity to which the named stream belongs.

Return Value

Type: System.String
eTag value of the specified named stream.

See Also

Reference

IDataServiceStreamProvider2 Interface

GetStreamETag Overload

System.Data.Services.Providers Namespace