Data.Win.ADODB.TRDSConnection.BeforeDisconnect

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: published
Source:
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Unit: Data.Win.ADODB
Parent: TRDSConnection

Delphi

property BeforeDisconnect;

C++

__property BeforeDisconnect;

Description

Occurs immediately before the connection closes.

Data.Win.ADODB.TRDSConnection.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


Code Examples