RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TADOConnection.RollbackTrans Method

Rolls back an active transaction.

Pascal
procedure RollbackTrans;
C++
__fastcall RollbackTrans();

Call RollbackTrans to cancel any changes made during the current transaction and to end the transaction. 

A successful execution of RollbackTrans triggers an OnRollbackTransComplete event and sets the InTransaction property to true. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!