ManagementScopePath.CreateApplicationPath Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cria um caminho de aplicativo usando os 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
O nome do servidor.
- port
- Int32
O número da porta.
- siteName
- String
O nome do site.
- applicationPath
- String
O caminho do aplicativo.
Retornos
Um ManagementScopePath objeto que contém os parâmetros que são passados para esse método.
Exemplos
O exemplo a seguir cria um ManagementScopePath objeto .
void TrcMSPx() {
ManagementScopePath msp = ManagementScopePath.CreateApplicationPath(
"localHost",
80,
"rickaSite",
"/Rx2"
);
msp.SetFrameworkVersion(FrameVrs);
TrcMSP(msp);
}