Data.DB.TCustomConnection.BeforeDisconnect
Delphi
property BeforeDisconnect: TNotifyEvent read FBeforeDisconnect write FBeforeDisconnect;
C++
__property System::Classes::TNotifyEvent BeforeDisconnect = {read=FBeforeDisconnect, write=FBeforeDisconnect};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Data.DB.pas Data.DB.hpp |
Data.DB | TCustomConnection |
Description
Occurs immediately before the connection closes.
Write a BeforeDisconnect event handler to take application-specific actions before dropping a connection.
See Also