Compartir a través de


ManagementScopePath.CreateApplicationPath Método

Definición

Crea una ruta de acceso de aplicación mediante los parámetros especificados.

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

Parámetros

managementServerName
String

El nombre del servidor.

port
Int32

Número del puerto.

siteName
String

Nombre del sitio.

applicationPath
String

Ruta de acceso a la aplicación.

Devoluciones

Objeto ManagementScopePath que contiene los parámetros que se pasan a este método.

Ejemplos

En el ejemplo siguiente se crea un ManagementScopePath objeto .

void TrcMSPx() {

    ManagementScopePath msp = ManagementScopePath.CreateApplicationPath(
        "localHost",
        80,
        "rickaSite",
        "/Rx2"
    );

    msp.SetFrameworkVersion(FrameVrs);
    TrcMSP(msp);
} 

Se aplica a