Returns a transaction object. Commands associated with a transaction object are executed as a single transaction. The transaction is terminated with a call to the Commit or Rollback methods.
Visual Basic Public Function BeginTransaction( _ ByVal isolationLevel As IsolationLevel _ ) As SATransaction
C# public SATransaction BeginTransaction( IsolationLevel isolationLevel );
isolationLevel A member of the SAIsolationLevel enumeration. The default value is ReadCommitted.
An SATransaction object representing the new transaction.
To associate a command with a transaction object, use the SACommand.Transaction property.
SATransaction tx = conn.BeginTransaction( SAIsolationLevel.ReadUncommitted ); |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |