ManagementScopePath.CreateApplicationPath メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したパラメーターを使用して、アプリケーション パスを作成します。
public:
static Microsoft::Web::Management::Client::ManagementScopePath ^ CreateApplicationPath(System::String ^ managementServerName, int port, System::String ^ siteName, System::String ^ applicationPath);
public static Microsoft.Web.Management.Client.ManagementScopePath CreateApplicationPath (string managementServerName, int port, string siteName, string applicationPath);
static member CreateApplicationPath : string * int * string * string -> Microsoft.Web.Management.Client.ManagementScopePath
Public Shared Function CreateApplicationPath (managementServerName As String, port As Integer, siteName As String, applicationPath As String) As ManagementScopePath
パラメーター
- managementServerName
- String
サーバーの名前。
- port
- Int32
ポート番号。
- siteName
- String
サイトの名前。
- applicationPath
- String
アプリケーション パス。
戻り値
ManagementScopePathこのメソッドに渡されるパラメーターを格納している オブジェクト。
例
次の例では、 オブジェクトを ManagementScopePath 作成します。
void TrcMSPx() {
ManagementScopePath msp = ManagementScopePath.CreateApplicationPath(
"localHost",
80,
"rickaSite",
"/Rx2"
);
msp.SetFrameworkVersion(FrameVrs);
TrcMSP(msp);
}