API:FireDAC.Comp.Client.TFDConnection.BeforeDisconnect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BeforeDisconnect;

C++

__property BeforeDisconnect;

Properties

Type Visibility Source Unit Parent
event published
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDConnection

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