Datasnap.Win.SConnect.TStreamedConnection.GetServerList
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp
| |
Unit: Datasnap.Win.SConnect | |
Parent: TStreamedConnection |
Delphi
function GetServerList: OleVariant; override;
C++
virtual System::OleVariant __fastcall GetServerList();
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.