Connection.ScopePath プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
接続の管理スコープ パスを取得します。
public:
property Microsoft::Web::Management::Client::ManagementScopePath ^ ScopePath { Microsoft::Web::Management::Client::ManagementScopePath ^ get(); };
public Microsoft.Web.Management.Client.ManagementScopePath ScopePath { get; }
member this.ScopePath : Microsoft.Web.Management.Client.ManagementScopePath
Public ReadOnly Property ScopePath As ManagementScopePath
プロパティ値
ManagementScopePathこの接続に関連付けられている オブジェクト。
例
public LinkedList<string> ScopePath(IServiceProvider sp) {
Connection con = (Connection)sp.GetService(typeof(Connection));
LinkedList<string> llp = new LinkedList<string>();
llp.AddLast("Port: " + con.ScopePath.Port.ToString());
llp.AddLast("ServerReference :" + con.ScopePath.ServerReference);
if (con.ScopePath.SiteName != String.Empty && con.ScopePath.SiteName != null)
llp.AddLast("SiteName: " + con.ScopePath.SiteName);
llp.AddLast("ApplicationPath: " + con.ScopePath.ApplicationPath);
if (con.ScopePath.FrameworkVersion != null)
llp.AddLast("Port: " + con.ScopePath.FrameworkVersion.Name);
return llp;
}
注釈
パスは、関連付けられている管理単位を識別するために使用されます。 オブジェクトの ManagementScopePath 内容は、管理スコープによって異なります。 パスの詳細については、 プロパティを ConfigurationPath 参照してください。