FireDAC.Comp.Client.TFDConnection.BeforeDisconnect

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: published
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDConnection

Delphi

property BeforeDisconnect;

C++

__property BeforeDisconnect;

Description

Occurs immediately before the connection closes.

FireDAC.Comp.Client.TFDConnection.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