Data.Win.ADODB.TADOConnection.RollbackTrans
Delphi
procedure RollbackTrans;
C++
void __fastcall RollbackTrans();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.Win.ADODB.pas Data.Win.ADODB.hpp |
Data.Win.ADODB | TADOConnection |
Description
Rolls back an active transaction.
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.