IIS を実行している Web サーバー上のアプリケーション、アプリケーション プール、Web サイト、仮想ディレクトリの既定の構成設定を公開します。
構文
class Server : Object
メソッド
次の表に、Server クラスによって公開されるメソッドの一覧を示します。
| 名前 | 説明 |
|---|---|
| BeginUpdateBatch | 指定したパスの構成変更のバッチを開始します。 |
| EndUpdateBatch | 構成変更のバッチを終了します。 |
プロパティ
次の表は、Server クラスによって公開されるプロパティの一覧です。
| 名前 | 説明 |
|---|---|
ApplicationDefaults |
新しいアプリケーションのデフォルトのアプリケーション プールとプロトコルを指定する読み取り/書き込みの ApplicationElementDefaults 値。 |
ApplicationPoolDefaults |
ApplicationPool クラスのデフォルト プロパティを含む読み取り/書き込みの ApplicationPoolElementDefaults 値。 |
SiteDefaults |
IIS Web サイトのデフォルト値を含む読み取り/書き込みの SiteElementDefaults 値。 |
VirtualDirectoryDefaults |
IIS 仮想ディレクトリのデフォルト構成設定を公開する読み取り/書き込みの VirtualDirectoryElementDefaults 値。 |
サブクラス
このクラスにはサブクラスが含まれていません。
解説
Server オブジェクトはシングルトン オブジェクト (つまり、コンピューターごとにインスタンスが 1 つだけ存在する) であるため、主要なプロパティを持ちません。
継承階層
Server
要件
| 型 | 説明 |
|---|---|
| クライアント | - Windows Vista 上の IIS 7.0 - Windows 7 上の IIS 7.5 - Windows 8 上の IIS 8.0 - Windows 10 上の IIS 10.0 |
| [サーバー] | - Windows Server 2008 上の IIS 7.0 - Windows Server 2008 R2 上の IIS 7.5 - Windows Server 2012 上の IIS 8.0 - Windows Server 2012 R2 上の IIS 8.5 - Windows Server 2016 上の IIS 10.0 |
| Product | - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0 |
| MOF ファイル | WebAdministration.mof |
参照
ApplicationElementDefaults クラス
ApplicationPool クラス
ApplicationPoolElementDefaults クラス
ConfiguredObject クラス
SiteElementDefaults クラス
VirtualDirectoryElementDefaults クラス