ServerManager Constructors

Definition

Overloads

ServerManager()

Initializes a new instance of the ServerManager class by using the default path of the ApplicationHost.config file.

ServerManager(String)
ServerManager(Boolean, String)

ServerManager()

Initializes a new instance of the ServerManager class by using the default path of the ApplicationHost.config file.

public:
 ServerManager();
public ServerManager ();
Public Sub New ()

Remarks

The default path of the ApplicationHost.config file is a combined path of the system directory and inetsrv\config\ApplicationHost.config. You can determine the system directory by making a call to the Win32 GetSystemDirectory function.

Applies to

ServerManager(String)

public:
 ServerManager(System::String ^ applicationHostConfigurationPath);
[System.ComponentModel.Browsable(false)]
public ServerManager (string applicationHostConfigurationPath);
new Microsoft.Web.Administration.ServerManager : string -> Microsoft.Web.Administration.ServerManager
Public Sub New (applicationHostConfigurationPath As String)

Parameters

applicationHostConfigurationPath
String
Attributes

Applies to

ServerManager(Boolean, String)

public:
 ServerManager(bool readOnly, System::String ^ applicationHostConfigurationPath);
[System.ComponentModel.Browsable(false)]
public ServerManager (bool readOnly, string applicationHostConfigurationPath);
new Microsoft.Web.Administration.ServerManager : bool * string -> Microsoft.Web.Administration.ServerManager
Public Sub New (readOnly As Boolean, applicationHostConfigurationPath As String)

Parameters

readOnly
Boolean
applicationHostConfigurationPath
String
Attributes

Applies to