Data.SqlExpr.TSQLConnection.Rollback
Delphi
procedure Rollback( TransDesc: TTransactionDesc); deprecated;
C++
void __fastcall Rollback _DEPRECATED_ATTRIBUTE0 (const TTransactionDesc &TransDesc);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | TSQLConnection |
Description
Warning: Rollback is deprecated.
Cancels all updates, insertions, and deletions for a specified transaction and ends the transaction.
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.