RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBXConnection.RollbackFreeAndNil Method

Rollbacks the work for a transaction

Pascal
procedure RollbackFreeAndNil(var Transaction: TDBXTransaction); virtual;
C++
virtual __fastcall RollbackFreeAndNil(TDBXTransaction Transaction);

This method rollbacks the work for the TDBXTransaction. Any active transactions that were begun after this transaction are freed and effectively rolled back as well. The variable Transaction instance is set to nil.

Note: RollbackFreeAndNil raises an exception if Transaction
is not an active transaction.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!