IDataServiceMetadataProvider.TryResolveServiceOperation Method

Tries to get a service operation based on the specified name.

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

Syntax

'Declaration
Function TryResolveServiceOperation ( _
    name As String, _
    <OutAttribute> ByRef serviceOperation As ServiceOperation _
) As Boolean
'Usage
Dim instance As IDataServiceMetadataProvider 
Dim name As String 
Dim serviceOperation As ServiceOperation 
Dim returnValue As Boolean 

returnValue = instance.TryResolveServiceOperation(name, _
    serviceOperation)
bool TryResolveServiceOperation(
    string name,
    out ServiceOperation serviceOperation
)
bool TryResolveServiceOperation(
    String^ name, 
    [OutAttribute] ServiceOperation^% serviceOperation
)
abstract TryResolveServiceOperation : 
        name:string * 
        serviceOperation:ServiceOperation byref -> bool
function TryResolveServiceOperation(
    name : String, 
    serviceOperation : ServiceOperation
) : boolean

Parameters

  • name
    Type: System.String
    Name of the service operation to resolve.

Return Value

Type: System.Boolean
true when service operation with the given name is found; otherwise false.

See Also

Reference

IDataServiceMetadataProvider Interface

System.Data.Services.Providers Namespace