Export (0) Print
Expand All

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)

'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)

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 null 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.
Show:
© 2014 Microsoft