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