次の方法で共有


ManagementScopePath.CreateApplicationPath メソッド

定義

指定したパラメーターを使用して、アプリケーション パスを作成します。

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);
} 

適用対象