Datasnap.Win.MConnect.TDispatchConnection.AfterConnect
Delphi
property AfterConnect: TNotifyEvent read FAfterConnect write FAfterConnect;
C++
__property AfterConnect;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | Datasnap.Win.MConnect.pas Datasnap.Win.MConnect.hpp |
Datasnap.Win.MConnect | TDispatchConnection |
Description
Occurs after a connection is established. {{#multireplace:Datasnap.Win.MConnect.TDispatchConnection.AfterConnect|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TCustomConnection.AfterConnect|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.AfterConnect|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Occurs after a connection is established.
Write an AfterConnect event handler to take application-specific actions immediately after the connection component opens a connection to the remote source of database information.