FireDAC.Comp.Client.TFDConnection.AfterConnect
Delphi
property AfterConnect: TNotifyEvent read FAfterConnect write FAfterConnect;
C++
__property AfterConnect;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDConnection |
Description
Occurs after a connection is established. {{#multireplace:FireDAC.Comp.Client.TFDConnection.AfterConnect|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TCustomConnection.AfterConnect|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DB.TCustomConnection.AfterConnect|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Occurs after a connection is established.
Write an AfterConnect event handler to take application-specific actions immediately after the connection component opens a connection to the remote source of database information.