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.
- serviceOperation
Type: System.Data.Services.Providers.ServiceOperation%
Returns the service operation or a nulla null reference (Nothing in Visual Basic) value if a service operation with the given name is not found.
Return Value
Type: System.Boolean
true when service operation with the given name is found; otherwise false.