Data.DB.TCustomConnection.AfterDisconnect
Delphi
property AfterDisconnect: TNotifyEvent read FAfterDisconnect write FAfterDisconnect;
C++
__property System::Classes::TNotifyEvent AfterDisconnect = {read=FAfterDisconnect, write=FAfterDisconnect};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Data.DB.pas Data.DB.hpp |
Data.DB | TCustomConnection |
Description
Occurs after the connection closes.
Write an AfterDisconnect event handler to take application-specific actions after the connection component drops a connection.