RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDispatchConnection.GetConnected Method

Returns the value of the Connected property.

Pascal
function GetConnected: Boolean; override;
C++
virtual __fastcall Boolean GetConnected();

GetConnected is the protected implementation of the Connected property. It uses the AppServer property (set by the DoConnect method of a TDispatchConnection descendant) to determine whether a connection is established.  

If a connection is established, GetConnected returns true. Otherwise, GetConnected returns false. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!