TMedConnection.BeforeDisconnect TMedConnection

property BeforeDisconnect: TNotifyEvent ;

Description

BeforeDisconnect event handler is called right before closing connection to Mediator server.

If TMedConnection component is used for DBF files only (ctDBF) this handler is also called before closing the (virtual) connection.

When BeforeDisconnect is called, the datasets associated with the connection (DataSets[] property) are still open.