Occurs immediately before the connection closes.
Syntax:
property AfterDisconnect: TNotifyEvent;
Description:
Write a BeforeDisconnect event handler to take application-specific actions before dropping a connection.