API:FireDAC.Comp.Client.TFDConnection.BeforeConnect
| [–] Properties | |
|---|---|
| Type: event | |
| Visibility: published | |
| Source: FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp
| |
| Unit: FireDAC.Comp.Client | |
| Parent: TFDConnection | |
Delphi
property BeforeConnect;
C++
__property BeforeConnect;
Description
Occurs immediately before establishing a connection.
FireDAC.Comp.Client.TFDConnection.BeforeConnect inherits from Data.DB.TCustomConnection.BeforeConnect. All content below this line refers to Data.DB.TCustomConnection.BeforeConnect.
Occurs immediately before establishing a connection.
Write a BeforeConnect event handler to take application-specific actions before the connection component opens a connection to the remote source of database information.