IDataClass.Execute Method (IMethodInstance, ILobSystemInstance)

Executes the given method instance against a given external system instance.

Namespace:  Microsoft.BusinessData.MetadataModel
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Function Execute ( _
    methodInstanceToExecute As IMethodInstance, _
    lobSystemInstance As ILobSystemInstance _
) As Object
'Usage
Dim instance As IDataClass
Dim methodInstanceToExecute As IMethodInstance
Dim lobSystemInstance As ILobSystemInstance
Dim returnValue As Object

returnValue = instance.Execute(methodInstanceToExecute, _
    lobSystemInstance)
Object Execute(
    IMethodInstance methodInstanceToExecute,
    ILobSystemInstance lobSystemInstance
)

Parameters

Return Value

Type: System.Object

The return value of the method instance.

Remarks

Instances of objects in the Business Data Connectivity object model are tied to the Metadata Store they are obtained from. Using instances tied to one Metadata Store with the instances from another Metadata Store will cause data corruption and other unexpected behavior. For more information, see DatabaseBackedMetadataCatalog, FileBackedMetadataCatalog, and RemoteSharedFileBackedMetadataCatalog.

See Also

Reference

IDataClass Interface

IDataClass Members

Execute Overload

Microsoft.BusinessData.MetadataModel Namespace