AbstractInstance.Execute Method (MethodInstance, LobSystemInstance, Object )
NOTE: This API is now obsolete.
Overrides all or some 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)> _
Public MustOverride Function Execute ( _
methodToExecute As MethodInstance, _
lobSystemInstance As LobSystemInstance, _
ByRef overrideArgs As Object() _
) As Object
'Usage
Dim instance As AbstractInstance
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)]
public abstract Object Execute(
MethodInstance methodToExecute,
LobSystemInstance lobSystemInstance,
ref Object[] overrideArgs
)
Parameters
methodToExecute
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MethodInstanceThe MethodInstance object to execute on the instance.
lobSystemInstance
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.LobSystemInstanceThe LobSystemInstance object that this data class belongs to.
overrideArgs
Type: []An array of objects containing the arguments that should be overridden before executing the method.
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
Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace