FireDAC.Comp.Client.TFDCustomTransaction.Active

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Active: Boolean read GetActive;

C++

__property bool Active = {read=GetActive, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDCustomTransaction

Description

Indicates whether a database transaction is in progress or not.

Examine Active at run time to determine if a database transaction is currently in progress. Active is True if a transaction is in progress, and False otherwise. 

The value of Active cannot be changed directly. Calling StartTransaction sets Active to True. Calling Commit or Rollback sets Active to False.

See Also