ObjectContainerAssociation Class [IIS 7 and higher]

IIS 7.0

Associates an object with its child objects.

class ObjectContainerAssociation

This class contains no methods.

The following table lists the properties exposed by the ObjectContainerAssociation class.

Name

Description

Container

An object ref value that represents a containing object.

Element

An object ref value that represents the object within the container.

Name

Description

ApplicationContainsVirtualDirectory

Provides a relationship between an IIS application and its virtual directories.

ApplicationPoolContainsApplication

Provides a relationship between an application pool and its applications.

ApplicationPoolContainsProcess

Provides a relationship between an application pool and its worker processes.

ServerContainsApplicationPool

Provides a relationship between a Web server and its application pools.

ServerContainsSite

Provides a relationship between a Web server and its Web sites.

ServerContainsSSLBinding

Provides a relationship between a Secure Sockets Layer (SSL) binding and a Web server that is running IIS.

SiteContainsApplication

Provides a relationship between a Web site and its applications.

SiteUsesSSLBinding

Provides a relationship between an IIS Web site and a Secure Sockets Layer (SSL) binding.

WorkerProcessContainsAppDomain

Provides a relationship between a worker process and its application domains.

This base class allows one member of the Object class to contain another member of the Object class. The containing object (for example, Site) is called a container, and the contained object (for example, Application) is called an element. A container object may contain one or more elements. ObjectContainerAssociation classes are useful because they enable you to create intuitive parent/child associations that would otherwise be difficult to implement in the relatively flat WMI namespace.

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

Community Additions

ADD
Show: