Datasnap.Win.SConnect.TStreamedConnection.GetServerList
Delphi
function GetServerList: OleVariant; override;
C++
virtual System::OleVariant __fastcall GetServerList();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp |
Datasnap.Win.SConnect | TStreamedConnection |
Description
Retrieves a list of registered data brokers from the remote server system.
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.