Datasnap.Win.MConnect.TOLEnterpriseConnection.DoConnect
Delphi
procedure DoConnect; override;
C++
virtual void __fastcall DoConnect();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Win.MConnect.pas Datasnap.Win.MConnect.hpp |
Datasnap.Win.MConnect | TOLEnterpriseConnection |
Description
Establishes a connection to the application server.
DoConnect is called when the Connected property is set to true. DoConnect obtains the interface of the remote data module on the application server using OLEnterprise runtime. This interface can then be used to obtain interfaces for the providers on the application server or to make interface calls to the remote data module.