RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLConnection.Rollback Method

Cancels all updates, insertions, and deletions for a specified transaction and ends the transaction.

Pascal
procedure Rollback(TransDesc: TTransactionDesc); deprecated;
C++
__fastcall Rollback(TTransactionDesc TransDesc);

Call Rollback to cancel any changes made during the transaction described by TransDesc and to end it. 

TransDesc is the transaction descriptor supplied to the StartTransaction method when starting the transaction. 

If the specified transaction is the only current transaction, Rollback sets the InTransaction property to false after canceling the transaction.

Note: This method has been deprecated.
 

 

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