Data.Win.ADODB.TADOConnection.RollbackTrans

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Unit: Data.Win.ADODB
Parent: TADOConnection

Delphi

procedure RollbackTrans;

C++

void __fastcall RollbackTrans();

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.

See Also