SetServiceOperationResultKind Method

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

Syntax

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

serviceOperation.SetServiceOperationResultKind(resultKind)
public static void SetServiceOperationResultKind(
    this IEdmFunctionImport serviceOperation,
    ODataServiceOperationResultKind resultKind
)
[ExtensionAttribute]
public:
static void SetServiceOperationResultKind(
    IEdmFunctionImport^ serviceOperation, 
    ODataServiceOperationResultKind resultKind
)
static member SetServiceOperationResultKind : 
        serviceOperation:IEdmFunctionImport * 
        resultKind:ODataServiceOperationResultKind -> unit 
public static function SetServiceOperationResultKind(
    serviceOperation : IEdmFunctionImport, 
    resultKind : ODataServiceOperationResultKind
)

Parameters

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 https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

ODataUtils Class

Microsoft.Data.OData Namespace