IDataServiceQueryProvider.InvokeServiceOperation Method
Invokes the given service operation and returns the results.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Function InvokeServiceOperation ( _
serviceOperation As ServiceOperation, _
parameters As Object() _
) As Object
'Usage
Dim instance As IDataServiceQueryProvider
Dim serviceOperation As ServiceOperation
Dim parameters As Object()
Dim returnValue As Object
returnValue = instance.InvokeServiceOperation(serviceOperation, _
parameters)
Object InvokeServiceOperation(
ServiceOperation serviceOperation,
Object[] parameters
)
Object^ InvokeServiceOperation(
ServiceOperation^ serviceOperation,
array<Object^>^ parameters
)
abstract InvokeServiceOperation :
serviceOperation:ServiceOperation *
parameters:Object[] -> Object
function InvokeServiceOperation(
serviceOperation : ServiceOperation,
parameters : Object[]
) : Object
Parameters
- serviceOperation
Type: System.Data.Services.Providers.ServiceOperation
Service operation to invoke.
- parameters
Type: array<System.Object[]
Values of parameters to pass to the service operation.
Return Value
Type: System.Object
The result of the service operation, or a nulla null reference (Nothing in Visual Basic) value for a service operation that returns void.