IDataServiceMetadataProvider::TryResolveServiceOperation Method (String^, ServiceOperation^%)

 

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

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

bool TryResolveServiceOperation(
	String^ name,
	[OutAttribute] ServiceOperation^% 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.

.NET Framework
Available since 3.5
Return to top
Show: