Datasnap.DBClient.TCustomRemoteServer.GetServerList

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: TCustomRemoteServer

Delphi

function GetServerList: OleVariant; virtual;

C++

virtual System::OleVariant __fastcall GetServerList();

Description

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

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).

See Also