API:IBX.IBCustomDataSet.TIBDataSet.BeforeDatabaseDisconnect

From RAD Studio API Documentation
Jump to: navigation, search

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.

IBX.IBCustomDataSet.TIBDataSet.BeforeDatabaseDisconnect inherits from IBX.IBCustomDataSet.TIBCustomDataSet.BeforeDatabaseDisconnect. All content below this line refers to IBX.IBCustomDataSet.TIBCustomDataSet.BeforeDatabaseDisconnect.

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.