IBX.IBDatabase.TIBTransaction.InTransaction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property InTransaction: Boolean read GetInTransaction;

C++

__property bool InTransaction = {read=GetInTransaction, nodefault};

Properties

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

Description

Indicates whether a database transaction is in progress or not.

Examine InTransaction at run-time to determine if a database transaction is currently in progress. InTransaction is true if a transaction is in progress, false otherwise.

The value of InTransaction cannot be changed directly. Calling StartTransaction sets InTransaction to true. Calling Commit or Rollback sets InTransaction to false.