Datasnap.Win.MConnect.TDispatchConnection.BeforeDisconnect
Delphi
property BeforeDisconnect: TNotifyEvent read FBeforeDisconnect write FBeforeDisconnect;
C++
__property BeforeDisconnect;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Datasnap.Win.MConnect.pas Datasnap.Win.MConnect.hpp |
Datasnap.Win.MConnect | TDispatchConnection |
Description
Occurs immediately before the connection closes.
Datasnap.Win.MConnect.TDispatchConnection.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