RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStreamedConnection.GetServerList Method

Retrieves a list of registered data brokers from the remote server system.

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

Call GetServerList to obtain a list of servers that are registered on the system to which the streamed connection communicates. GetServerList returns a Variant array of strings. Any of these strings can be used as a valid setting for the ServerName property. 

At design time, TStreamedConnection uses the GetServerList method to populate the ServerName drop-down in the Object Inspector. Note that, unlike COM-based connection components (which populate that list with servers that are registered on the client machine), this results in a list of application servers that are registered on the server machine. 

 

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