FireDAC.Comp.Client.TFDCustomEventAlerter.Active

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDCustomEventAlerter

Delphi

property Active: Boolean read GetActive write SetActive default False;

C++

__property bool Active = {read=GetActive, write=SetActive, default=0};

Description

Controls the event registration state of the event alerter.

Use the Active property to set or check when an event alerter has registered the FireDAC.Comp.Client.TFDCustomEventAlerter.Names events with a DBMS and is waiting for events. 

Set the Active property to True to register the events with a DBMS and start the incoming events. If a FireDAC DBMS driver supports some event alerters, the event alerter kind must be explicitly assigned to the Options.Kind property. 

Set the property to False to stop the events processing.

See Also