Transaction property

Description

Associates the current command with a transaction.

Syntax

AseTransaction Transaction

Access

Read-write

Usage

The default value is a null reference. In Visual Basic this is Nothing.

You cannot set the Transaction property if it is already set to a specific value and the command is executing. If you set the transaction property to an AseTransaction object that is not connected to the same AseConnection as the AseCommand object, an exception will be thrown the next time you attempt to execute a statement.