DataClass.Execute Method (MethodInstance, LobSystemInstance)
Executes a method instance on the business application.
Namespace: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Overridable Function Execute ( _
methodInstanceToExecute As MethodInstance, _
lobSystemInstance As LobSystemInstance _
) As Object
'Usage
Dim instance As DataClass
Dim methodInstanceToExecute As MethodInstance
Dim lobSystemInstance As LobSystemInstance
Dim returnValue As Object
returnValue = instance.Execute(methodInstanceToExecute, _
lobSystemInstance)
public virtual Object Execute(
MethodInstance methodInstanceToExecute,
LobSystemInstance lobSystemInstance
)
Parameters
- methodInstanceToExecute
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MethodInstance
MethodInstance object to execute.
- lobSystemInstance
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.LobSystemInstance
The LobSystemInstance object this entity belongs to.
Return Value
Type: System.Object
An object containing the entity instances returned by the method instance. Sometimes a scalar value may also be returned if the Method Instance type is Scalar.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace