Datasnap.Win.MConnect.TOLEnterpriseConnection.DoConnect

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.Win.MConnect.pas
Datasnap.Win.MConnect.hpp
Unit: Datasnap.Win.MConnect
Parent: TOLEnterpriseConnection

Delphi

procedure DoConnect; override;

C++

virtual void __fastcall DoConnect();

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.

See Also