Datasnap.DBClient.TCustomRemoteServer.GetServerList

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetServerList: OleVariant; virtual;

C++

virtual System::OleVariant __fastcall GetServerList();

プロパティ

種類 可視性 ソース ユニット
function public
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomRemoteServer

説明

コンポーネントが接続できるアプリケーションサーバー(リモートデータモジュール)のリストを返します。

接続コンポーネントは,GetServerList メソッドを内部的に使用して,ServerName プロパティの Object Inspector 内にドロップダウンリストを作成します。

TCustomRemoteServer では,GetServerList は常に NULL を返します。下位クラスは,このメソッドをオーバーライドして,ローカルマシン上のアプリケーションサーバー,システムレジストリに登録されているアプリケーションサーバー(TDispatchConnection),またはサーバーマシンからフェッチされたアプリケーションサーバー(TStreamedConnection)のリストを返します。

関連項目