Share via


IInstance.Execute Method (MethodInstance, LobSystemInstance, Object )

NOTE: This API is now obsolete.

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
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
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)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
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