RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomRemoteServer.GetServerList Method

Returns a list of application servers (remote data modules) to which the component can connect.

Pascal
function GetServerList: OleVariant; virtual;
C++
virtual __fastcall OleVariant GetServerList();

Connection components use GetServerList internally to fill the drop down list in the Object Inspector for the ServerName property.  

As implemented in TCustomRemoteServer, GetServerList always returns NULL. Descendant classes override this method to return a list of application servers that are on the local machine and registered in the system registry (TDispatchConnection), or fetched from the server machine (TStreamedConnection). 

 

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