RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBTransaction.RollbackRetaining Method

Cancels all updates, insertions, and deletions for the current transaction and retains the transaction context.

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

Call RollbackRetaining to roll back to the database server all updates, insertions, and deletions of data associated with the current transaction and then retain the transaction context. The current transaction is the last transaction started by calling StartTransaction.

Note: Before calling RollbackRetaining, an application may check the status of the InTransaction property. If an application calls RollbackRetaining and there is no current transaction, an exception is raised.
Note: You must install InterBase 6 to use this feature.
 

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