RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCOMConnection.DoConnect Method

Connects to an application server.

Pascal
procedure DoConnect; override;
C++
virtual __fastcall DoConnect();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!