IDataServiceMetadataProvider.TryResolveServiceOperation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to get a service operation based on the specified name.
public:
bool TryResolveServiceOperation(System::String ^ name, [Runtime::InteropServices::Out] System::Data::Services::Providers::ServiceOperation ^ % serviceOperation);
public bool TryResolveServiceOperation(string name, out System.Data.Services.Providers.ServiceOperation serviceOperation);
abstract member TryResolveServiceOperation : string * ServiceOperation -> bool
Public Function TryResolveServiceOperation (name As String, ByRef serviceOperation As ServiceOperation) As Boolean
Parameters
- name
- String
Name of the service operation to resolve.
- serviceOperation
- ServiceOperation
Returns the service operation or a null value if a service operation with the given name is not found.
Returns
true if the service operation with the given name is found; otherwise, false.