Datasnap.DBClient.TConnectionBroker.BeforeDisconnect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BeforeDisconnect: TNotifyEvent read FBeforeDisconnect write FBeforeDisconnect;

C++

__property BeforeDisconnect;

Properties

Type Visibility Source Unit Parent
event published
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TConnectionBroker

Description

Occurs immediately before the connection closes.

Datasnap.DBClient.TConnectionBroker.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