Transaction property

Specifies the HanaTransaction object in which the HanaCommand executes.

Remarks

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 a HanaTransaction object that is not connected to the same HanaConnection object as the HanaCommand object, then an exception is thrown the next time that you attempt to execute a statement.

For more information, see Transaction processing.