Datasnap.Win.MConnect.TCOMConnection.DoConnect

From RAD Studio API Documentation
Jump to: navigation, search

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 TCOMConnection

Description

Connects to an application server.

DoConnect is called internally when the Connected property is set to true. DoConnect creates a COM object for the application server (based on the ServerName or ServerGUID property), and sets the value of the AppServer property to this COM object.

Descendants of TCOMConnection override DoConnect to change the way the client application forms a connection to an application server.

See Also