API:IBX.IBCustomDataSet.TIBDataSet.BeforeDatabaseDisconnect
Delphi
property BeforeDatabaseDisconnect: TNotifyEvent read FBeforeDatabaseDisconnect write FBeforeDatabaseDisconnect;
C++
__property BeforeDatabaseDisconnect;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | IBX.IBCustomDataSet.pas IBX.IBCustomDataSet.hpp |
IBX.IBCustomDataSet | TIBDataSet |
Description
Occurs immediately before the connection to the associated database is closed. {{#multireplace:IBX.IBCustomDataSet.TIBDataSet.BeforeDatabaseDisconnect|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:IBX.IBCustomDataSet.TIBCustomDataSet.BeforeDatabaseDisconnect|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:IBX.IBCustomDataSet.TIBCustomDataSet.BeforeDatabaseDisconnect|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.