FireDAC.Comp.Client.TFDEventAlerter.Connection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Connection;

C++

__property Connection;

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDEventAlerter

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