DataClass.Execute Method (MethodInstance, LobSystemInstance, Object[])

Overrides the arguments and executes a method instance on the business application.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)


Public Overridable Function Execute ( _
    methodInstanceToExecute As MethodInstance, _
    lobSystemInstance As LobSystemInstance, _
    ByRef overrideArgs As Object() _
) As Object
Dim instance As DataClass
Dim methodInstanceToExecute As MethodInstance
Dim lobSystemInstance As LobSystemInstance
Dim overrideArgs As Object()
Dim returnValue As Object

returnValue = instance.Execute(methodInstanceToExecute, _
    lobSystemInstance, overrideArgs)
public virtual Object Execute(
    MethodInstance methodInstanceToExecute,
    LobSystemInstance lobSystemInstance,
    ref Object[] overrideArgs


  • overrideArgs
    Type: []
    Overridden arguments.

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.


The arguments consist of objects built up from the default values specified in the metadata, with some default values overridden by Filter values that may have been set by the User or the System (see SystemFilters) and Identifier values that may have been set by the Business Data Catalog.

It also contains a related collection of business logic in the form of Methods.

See Also


DataClass Class

DataClass Members

Execute Overload

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace