Data.DB.TCustomConnection.BeforeConnect
Delphi
property BeforeConnect: TNotifyEvent read FBeforeConnect write FBeforeConnect;
C++
__property System::Classes::TNotifyEvent BeforeConnect = {read=FBeforeConnect, write=FBeforeConnect};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Data.DB.pas Data.DB.hpp |
Data.DB | TCustomConnection |
Description
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.