RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSharedConnection.DoConnect Method

Provides the interface for a method that opens a connection.

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

The Connected property uses DoConnect to establish a connection. Descendant classes override the DoConnect method to establish their connection as appropriate. As implemented in TCustomConnection, DoConnect does nothing. 

 

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