SetServiceOperationResultKind Method

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


<ExtensionAttribute> _
Public Shared Sub SetServiceOperationResultKind ( _
    serviceOperation As IEdmFunctionImport, _
    resultKind As ODataServiceOperationResultKind _
Dim serviceOperation As IEdmFunctionImport
Dim resultKind As ODataServiceOperationResultKind

public static void SetServiceOperationResultKind(
    this IEdmFunctionImport serviceOperation,
    ODataServiceOperationResultKind resultKind
static void SetServiceOperationResultKind(
    IEdmFunctionImport^ serviceOperation, 
    ODataServiceOperationResultKind resultKind
static member SetServiceOperationResultKind : 
        serviceOperation:IEdmFunctionImport * 
        resultKind:ODataServiceOperationResultKind -> unit 
public static function SetServiceOperationResultKind(
    serviceOperation : IEdmFunctionImport, 
    resultKind : ODataServiceOperationResultKind


Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmFunctionImport. 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