ObjectContainerAssociation クラス 1
オブジェクトをその子オブジェクトに関連付けます。
構文
class ObjectContainerAssociation
メソッド
このクラスにはメソッドが含まれていません。
プロパティ
次の表は、ObjectContainerAssociation
クラスによって公開されるプロパティの一覧です。
名前 | 説明 |
---|---|
Container |
包含するオブジェクトを表す object ref 値。 |
Element |
コンテナー内のオブジェクトを表す object ref 値。 |
サブクラス
名前 | 説明 |
---|---|
ApplicationContainsVirtualDirectory | IIS アプリケーションとその仮想ディレクトリの間のリレーションシップを提供します。 |
ApplicationPoolContainsApplication | アプリケーション プールとそのアプリケーションの間のリレーションシップを提供します。 |
ApplicationPoolContainsProcess | アプリケーション プールとそのワーカー プロセスの間のリレーションシップを提供します。 |
ServerContainsApplicationPool | Web サーバーとそのアプリケーション プールの間のリレーションシップを提供します。 |
ServerContainsSite | Web サーバーとその Web サイトの間のリレーションシップを提供します。 |
ServerContainsSSLBinding | Secure Sockets Layer (SSL) バインドと IIS を実行している Web サーバーの間のリレーションシップを提供します。 |
SiteContainsApplication | Web サイトとそのアプリケーションの間のリレーションシップを提供します。 |
SiteUsesSSLBinding | IIS Web サイトと Secure Sockets Layer (SSL) バインドの間のリレーションシップを提供します。 |
WorkerProcessContainsAppDomain | ワーカー プロセスとそのアプリケーション ドメインの間のリレーションシップを提供します。 |
解説
この基底クラスを使うと、Object クラスの 1 つのメンバーで Object
クラスの別のメンバーを包含することができます。 包含するオブジェクト (例: Site) はコンテナーと呼ばれ、包含されるオブジェクト (例: Application) は要素と呼ばれます。 コンテナー オブジェクトは、1 つ以上の要素を包含することができます。 ObjectContainerAssociation
クラスが便利なのは、これを使うと、比較的フラットな WMI 名前空間では実装するのが難しい、直感的な親子の関連付けを作成できるためです。
要件
型 | 説明 |
---|---|
クライアント | - 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 |
参照
AppDomain クラス
Application クラス
ApplicationPool クラス
ApplicationContainsVirtualDirectory クラス
ApplicationPoolContainsApplication クラス
ApplicationPoolContainsProcess クラス
ConfiguredObject クラス
EmbeddedObject クラス
WMI プロバイダー
Object クラス
Site クラス
SiteContainsApplication クラス
VirtualDirectory クラス
WorkerProcess クラス
WorkerProcessContainsAppDomain クラス