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