Share via


AbstractInstance.Execute Method (MethodInstance, LobSystemInstance)

NOTE: This API is now obsolete.

Executes a specified method instance on the instance.

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 MustOverride Function Execute ( _
    methodToExecute As MethodInstance, _
    lobSystemInstance As LobSystemInstance _
) As Object
'Usage
Dim instance As AbstractInstance
Dim methodToExecute As MethodInstance
Dim lobSystemInstance As LobSystemInstance
Dim returnValue As Object

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

Parameters

Return Value

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

Implements

IInstance.Execute(MethodInstance, LobSystemInstance)

See Also

Reference

AbstractInstance Class

AbstractInstance Members

Execute Overload

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace