ManagementScopePath.ApplicationPath プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
アプリケーション パスを取得します。
public:
property System::String ^ ApplicationPath { System::String ^ get(); };
public string ApplicationPath { get; }
member this.ApplicationPath : string
Public ReadOnly Property ApplicationPath As String
プロパティ値
アプリケーション パス。
例
次の例では、トレース リスナーに詳細を送信 ManagementScopePath します。
void TrcMSP(ManagementScopePath msp) {
Trace.WriteLine("ApplicationPath = " + msp.ApplicationPath);
Trace.WriteLine("Port = " + msp.Port.ToString());
if (msp.FrameworkVersion != null &&
!string.IsNullOrEmpty(msp.FrameworkVersion.Version.ToString()))
Trace.WriteLine("FrameworkVersion = " + msp.FrameworkVersion.Version);
Trace.WriteLine("ServerName = " + msp.ServerName);
Trace.WriteLine("ServerReference = " + msp.ServerReference);
Trace.WriteLine("SiteName = " + msp.SiteName);
}