AbstractInstance.Execute Method (MethodInstance, LobSystemInstance, Object[])
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
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)
public abstract Object Execute(
MethodInstance methodToExecute,
LobSystemInstance lobSystemInstance,
ref Object[] overrideArgs
)
Parameters
- methodToExecute
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MethodInstance
The MethodInstance object to execute on the instance.
- lobSystemInstance
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.LobSystemInstance
The 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