GetServiceOperationsByResourceType Method

Gets a collection of actions and functions that can be bound to the given resource type.

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

Syntax

'Declaration
Function GetServiceOperationsByResourceType ( _
    resourceType As ResourceType _
) As IEnumerable(Of ServiceOperation)
'Usage
Dim instance As IDataServiceMetadataProvider2
Dim resourceType As ResourceType
Dim returnValue As IEnumerable(Of ServiceOperation)

returnValue = instance.GetServiceOperationsByResourceType(resourceType)
IEnumerable<ServiceOperation> GetServiceOperationsByResourceType(
    ResourceType resourceType
)
IEnumerable<ServiceOperation^>^ GetServiceOperationsByResourceType(
    ResourceType^ resourceType
)
abstract GetServiceOperationsByResourceType : 
        resourceType:ResourceType -> IEnumerable<ServiceOperation> 
function GetServiceOperationsByResourceType(
    resourceType : ResourceType
) : IEnumerable<ServiceOperation>

Parameters

Return Value

Type: System.Collections.Generic..::..IEnumerable< (Of < ( <'ServiceOperation> ) > ) >
A list of actions and functions bound to the given resource type.

See Also

Reference

IDataServiceMetadataProvider2 Interface

System.Data.Services.Providers Namespace