Share via


IInstance.Execute Method (MethodInstance, LobSystemInstance, Object[])

Overrides some or all of the arguments in the back-end method and executes it in the back-end application.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Function Execute ( _
    methodToExecute As MethodInstance, _
    lobSystemInstance As LobSystemInstance, _
    ByRef overrideArgs As Object() _
) As Object
'Usage
Dim instance As IInstance
Dim methodToExecute As MethodInstance
Dim lobSystemInstance As LobSystemInstance
Dim overrideArgs As Object()
Dim returnValue As Object

returnValue = instance.Execute(methodToExecute, _
    lobSystemInstance, overrideArgs)
Object Execute(
    MethodInstance methodToExecute,
    LobSystemInstance lobSystemInstance,
    ref Object[] overrideArgs
)

Parameters

  • overrideArgs
    Type: []
    An array of objects containing the arguments to override before executing the method.

Return Value

Type: System.Object
An object that represents the entity instances returned by the back-end method.

See Also

Reference

IInstance Interface

IInstance Members

Execute Overload

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace