ManagementScopePath.CreateApplicationPath Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an application path by using the specified parameters.
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
Parameters
- managementServerName
- String
The name of the server.
- port
- Int32
The port number.
- siteName
- String
The name of the site.
- applicationPath
- String
The application path.
Returns
A ManagementScopePath object that contains the parameters that are passed to this method.
Examples
The following example creates a ManagementScopePath object.
void TrcMSPx() {
ManagementScopePath msp = ManagementScopePath.CreateApplicationPath(
"localHost",
80,
"rickaSite",
"/Rx2"
);
msp.SetFrameworkVersion(FrameVrs);
TrcMSP(msp);
}