Data.DB.TCustomConnection.AfterDisconnect

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TCustomConnection

Delphi

property AfterDisconnect: TNotifyEvent read FAfterDisconnect write FAfterDisconnect;

C++

__property System::Classes::TNotifyEvent AfterDisconnect = {read=FAfterDisconnect, write=FAfterDisconnect};

Description

Occurs after the connection closes.

Write an AfterDisconnect event handler to take application-specific actions after the connection component drops a connection.

See Also