Datasnap.Win.MConnect.TDCOMConnection.ComputerName

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

Delphi

property ComputerName: string read FComputerName write SetComputerName stored IsComputerNameStored;

C++

__property System::UnicodeString ComputerName = {read=FComputerName, write=SetComputerName, stored=IsComputerNameStored};

プロパティ

種類 可視性 ソース ユニット
property published
Datasnap.Win.MConnect.pas
Datasnap.Win.MConnect.hpp
Datasnap.Win.MConnect TDCOMConnection

説明

アプリケーションサーバーのあるマシンの名前を指定します。

ComputerName プロパティには,アプリケーションサーバーが存在するコンピュータのマシン名を設定します。ComputerName が空白(デフォルト)の場合,TDCOMConnection はアプリケーションサーバーがユーザーのマシン上で見つかる,または,コンピュータ名は DCOM 環境設定に基づいてシステムレジストリから受け継いでいると想定します。ComputerName プロパティが空白ではない場合,システムレジストリのエントリはすべてオーバーライドされます。

通常,クライアントとアプリケーションサーバーは異なるマシン上で動作するため,ComputerName はクライアントアプリケーションによって設定されるか,レジストリの DCOM 環境設定の一部として使用できなくてはなりません。

関連項目