Share via


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

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

DataClass Class

DataClass Members

Execute Overload

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace