Bde.DBTables.TDatabase.Rollback

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Rollback;

C++

void __fastcall Rollback();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TDatabase

Description

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

Call Rollback to cancel all updates, insertions, and deletions for the current transaction and to end the transaction. The current transaction is the last transaction started by calling StartTransaction.

Note: Before calling Rollback, an application may check the status of the InTransaction property. If an application calls Rollback and there is no current transaction, an exception is raised.

See Also