Data.Win.ADODB.TADOConnection.BeforeConnect
Delphi
property BeforeConnect: TNotifyEvent read FBeforeConnect write FBeforeConnect;
C++
__property BeforeConnect;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Data.Win.ADODB.pas Data.Win.ADODB.hpp |
Data.Win.ADODB | TADOConnection |
Description
Occurs immediately before establishing a connection.
Data.Win.ADODB.TADOConnection.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.