API:FireDAC.Comp.Client.TFDEventAlerter.Connection

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

property Connection;

C++

__property Connection;

Description

Specifies the connection component that actually forms the connection to the DBMS.

FireDAC.Comp.Client.TFDEventAlerter.Connection inherits from FireDAC.Comp.Client.TFDCustomEventAlerter.Connection. All content below this line refers to FireDAC.Comp.Client.TFDCustomEventAlerter.Connection.

Specifies the connection component that actually forms the connection to the DBMS.

Set Connection to the component that establishes a connection to the DBMS. Because event alerter is using the connection in a background thread, it will use this connection as a template to create a new internal instance of connection to the DBMS.

Note: If you change the Connection property value while an event alerter is active, it will unregister its events.

See Also