FireDAC.Comp.Client.TFDCustomEventAlerter.Connection

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 Connection: TFDCustomConnection read FConnection write SetConnection;

C++

__property TFDCustomConnection* Connection = {read=FConnection, write=SetConnection};

Description

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