ManagementScopePath.CreateApplicationPath Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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);
}