Datasnap.Win.MConnect.TDCOMConnection.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: TDCOMConnection

Delphi

procedure DoConnect; override;

C++

virtual void __fastcall DoConnect();

Description

Connects to an application server.

DoConnect is called when the Connected property is set to true. DoConnect establishes a dual interface with the remote data module on the application server. This interface is used to locate providers on the application server.

To locate the server system, DoConnect uses the ComputerName property. If the ObjectBroker property is set, DoConnect gets this value from the object broker. Otherwise, the application must assign this property a value directly.

See Also