Datasnap.Win.MConnect.TDispatchConnection.BeforeConnect

From RAD Studio API Documentation

Delphi

property BeforeConnect: TNotifyEvent read FBeforeConnect write FBeforeConnect;

C++

__property BeforeConnect;

Properties

Type Visibility Source Unit Parent
event published
Datasnap.Win.MConnect.pas
Datasnap.Win.MConnect.hpp
Datasnap.Win.MConnect TDispatchConnection

Description

Occurs immediately before establishing a connection. {{#multireplace:Datasnap.Win.MConnect.TDispatchConnection.BeforeConnect|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TCustomConnection.BeforeConnect|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DB.TCustomConnection.BeforeConnect|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Occurs immediately before establishing a connection.

Write a BeforeConnect event handler to take application-specific actions before the connection component opens a connection to the remote source of database information.

See Also