IInstance.Execute Method (MethodInstance, LobSystemInstance)
Executes a specified method instance on the entity instance.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Function Execute ( _
methodToExecute As MethodInstance, _
lobSystemInstance As LobSystemInstance _
) As Object
'Usage
Dim instance As IInstance
Dim methodToExecute As MethodInstance
Dim lobSystemInstance As LobSystemInstance
Dim returnValue As Object
returnValue = instance.Execute(methodToExecute, _
lobSystemInstance)
Object Execute(
MethodInstance methodToExecute,
LobSystemInstance lobSystemInstance
)
Parameters
- methodToExecute
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MethodInstance
The MethodInstance object to execute.
- lobSystemInstance
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.LobSystemInstance
The LobSystemInstance object of this method.
Return Value
Type: System.Object
An object containing the result set from the back-end business application.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace