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.
- streamProperty
Type: System.Data.Services.Providers.ResourceProperty
A ResourceProperty object that represents the named stream.
- operationContext
Type: System.Data.Services.DataServiceOperationContext
The DataServiceOperationContext instance used by the data service to process the request.
Return Value
Type: System.String
eTag value of the specified named stream.