AbstractEntityInstance.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 the method 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)> _
Public Overrides Function Execute ( _
    methodInstanceToExecute As MethodInstance, _
    lobSystemInstance As LobSystemInstance, _
    ByRef overrideArgs As Object() _
) As Object
'Usage
Dim instance As AbstractEntityInstance
Dim methodInstanceToExecute As MethodInstance
Dim lobSystemInstance As LobSystemInstance
Dim overrideArgs As Object()
Dim returnValue As Object

returnValue = instance.Execute(methodInstanceToExecute, _
    lobSystemInstance, overrideArgs)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
public override Object Execute(
    MethodInstance methodInstanceToExecute,
    LobSystemInstance lobSystemInstance,
    ref Object[] overrideArgs
)

Parameters

  • overrideArgs
    Type: []

    An array of objects containing the arguments that should be overridden before executing the method. Allows the user to override the default values created by the Business Data Catalog for this execution.

Return Value

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

Implements

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

See Also

Reference

AbstractEntityInstance Class

AbstractEntityInstance Members

Execute Overload

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace