AbstractEntityInstance.Execute Method (MethodInstance, LobSystemInstance, Object[])
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
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)
public override Object Execute(
MethodInstance methodInstanceToExecute,
LobSystemInstance lobSystemInstance,
ref Object[] overrideArgs
)
Parameters
- methodInstanceToExecute
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MethodInstance
The MethodInstance object to execute on the entity instance.
- lobSystemInstance
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.LobSystemInstance
The LobSystemInstance object that this entity belongs to.
- 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, [])
See Also
Reference
AbstractEntityInstance Members
Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace