ExecuteStmt Method

The ExecuteStmt method executes a statement on the Axapta record. When multiple Axapta records are needed for the statement, use the ExecuteStmt method of the Axapta class or one of its overloads.

Namespace:  Microsoft.Dynamics.BusinessConnectorNet
Assembly:  Microsoft.Dynamics.BusinessConnectorNet (in Microsoft.Dynamics.BusinessConnectorNet.dll)

Syntax

'Declaration
Public Sub ExecuteStmt ( _
    statement As String _
)
'Usage
Dim instance As AxaptaRecord
Dim statement As String

instance.ExecuteStmt(statement)
public void ExecuteStmt(
    string statement
)
public:
void ExecuteStmt(
    String^ statement
)

Parameters

Exceptions

Exception Condition
BusinessConnectorException

An unexpected error has occurred with the Business Connector.

AxaptaRecordNotValidException

An attempt has been made to access an invalid record.

ArgumentException

An argument passed to the method is invalid.

ArgumentNullException

A null reference was passed to a method that does not accept it as a valid argument.

See Also

Reference

AxaptaRecord Class

Microsoft.Dynamics.BusinessConnectorNet Namespace