Datasnap.DBClient.TConnectionBroker.BeforeDisconnect
| [–] Properties | |
|---|---|
| Type: event | |
| Visibility: published | |
| Source: Datasnap.DBClient.pas Datasnap.DBClient.hpp
| |
| Unit: Datasnap.DBClient | |
| Parent: TConnectionBroker | |
Delphi
property BeforeDisconnect;
C++
__property BeforeDisconnect;
Description
Occurs immediately before the connection closes.
Datasnap.DBClient.TConnectionBroker.BeforeDisconnect inherits from Data.DB.TCustomConnection.BeforeDisconnect. All content below this line refers to Data.DB.TCustomConnection.BeforeDisconnect.
Occurs immediately before the connection closes.
Write a BeforeDisconnect event handler to take application-specific actions before dropping a connection.
See Also