TryResolveServiceOperation Method

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)


<ExtensionAttribute> _
Public Shared Function TryResolveServiceOperation ( _
    model As IEdmModel, _
    operationName As String _
) As IEdmFunctionImport
Dim model As IEdmModel
Dim operationName As String
Dim returnValue As IEdmFunctionImport

returnValue = model.TryResolveServiceOperation(operationName)
public static IEdmFunctionImport TryResolveServiceOperation(
    this IEdmModel model,
    string operationName
static IEdmFunctionImport^ TryResolveServiceOperation(
    IEdmModel^ model, 
    String^ operationName
static member TryResolveServiceOperation : 
        model:IEdmModel * 
        operationName:string -> IEdmFunctionImport 
public static function TryResolveServiceOperation(
    model : IEdmModel, 
    operationName : String
) : IEdmFunctionImport


Return Value

Type: Microsoft.Data.Edm..::..IEdmFunctionImport

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see or

See Also


ODataUtils Class

Microsoft.Data.OData Namespace