Specifies the SATransaction object in which the SACommand executes.
Visual Basic Public Property Transaction As SATransaction
C# public SATransaction Transaction { get; set; }
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 SATransaction object that is not connected to the same SAConnection object as the SACommand object, an exception will be thrown the next time you attempt to execute a statement.
For more information, see Transaction processing.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |