IBX.IBCustomDataSet.TIBCustomDataSet.BeforeDatabaseDisconnect
Delphi
property BeforeDatabaseDisconnect: TNotifyEvent read FBeforeDatabaseDisconnect
C++
__property System::Classes::TNotifyEvent BeforeDatabaseDisconnect = {read=FBeforeDatabaseDisconnect, write=FBeforeDatabaseDisconnect};
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| event | protected | IBX.IBCustomDataSet.pas IBX.IBCustomDataSet.hpp | IBX.IBCustomDataSet | TIBCustomDataSet | 
Description
Occurs immediately before the connection to the associated database is closed.
Write a BeforeDatabaseDisconnect event handler to respond when the dataset is about to close its connection to the database specified by the Database property.