Event triggered before a connection is closed.
Source position: db.pas line 2274
|  published property TCustomConnection.BeforeDisconnect : TNotifyEvent | 
BeforeDisConnect is called before a connection is closed in TCustomConnection.Close. It can be used for instance to check for unsaved changes, to save those changes, or to abort the disconnect operation: if an exception is raised during the event handler, the disconnect operation is aborted entirely.
| 
 | Close the connection. | |
| 
 | Event triggered after a connection is closed. |