Data.DB.TCustomConnection.BeforeDisconnect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BeforeDisconnect: TNotifyEvent read FBeforeDisconnect write FBeforeDisconnect;

C++

__property System::Classes::TNotifyEvent BeforeDisconnect = {read=FBeforeDisconnect, write=FBeforeDisconnect};

Properties

Type Visibility Source Unit Parent
event public
Data.DB.pas
Data.DB.hpp
Data.DB TCustomConnection

Description

Occurs immediately before the connection closes.

Write a BeforeDisconnect event handler to take application-specific actions before dropping a connection.

See Also


Code Examples

Retrieved from "https://docwiki.embarcadero.com/Libraries/Tokyo/e/index.php?title=Data.DB.TCustomConnection.BeforeDisconnect&oldid=732513"