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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!