Datasnap.DBClient.TCustomRemoteServer.GetServerList

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetServerList: OleVariant; virtual;

C++

virtual System::OleVariant __fastcall GetServerList();

Properties

Type Visibility Source Unit Parent
function public
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomRemoteServer

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