次の方法で共有


ServerManager コンストラクター

定義

オーバーロード

ServerManager()

ApplicationHost.config ファイルの既定のパスを ServerManager 使用して、 クラスの新しいインスタンスを初期化します。

ServerManager(String)
ServerManager(Boolean, String)

ServerManager()

ApplicationHost.config ファイルの既定のパスを ServerManager 使用して、 クラスの新しいインスタンスを初期化します。

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

注釈

ApplicationHost.config ファイルの既定のパスは、システム ディレクトリとinetsrv\config\ApplicationHost.configの結合パスです。Win32 GetSystemDirectory 関数を呼び出すことで、システム ディレクトリを特定できます。

適用対象

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)

パラメーター

applicationHostConfigurationPath
String
属性

適用対象

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)

パラメーター

readOnly
Boolean
applicationHostConfigurationPath
String
属性

適用対象