FireDAC.Comp.Client.TFDCustomEventAlerter.Connection
Delphi
property Connection: TFDCustomConnection read FConnection write SetConnection;
C++
__property TFDCustomConnection* Connection = {read=FConnection, write=SetConnection};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomEventAlerter |
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.