IBX.IBDatabase.TIBTransaction.RollbackRetaining

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RollbackRetaining;

C++

void __fastcall RollbackRetaining();

Properties

Type Visibility Source Unit Parent
procedure
function
public
IBX.IBDatabase.pas
IBX.IBDatabase.hpp
IBX.IBDatabase TIBTransaction

Description

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

Call RollbackRetaining to roll back to the database server all updates, insertions, and deletions of data associated with the current transaction and then retain the transaction context. The current transaction is the last transaction started by calling StartTransaction.

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

Note: You must install InterBase 6 to use this feature.