ObjectContainerAssociation Class1

Associates an object with its child objects.

Syntax

class ObjectContainerAssociation  

Methods

This class contains no methods.

Properties

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.

Subclasses

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.

Remarks

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.

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

AppDomain Class
Application Class
ApplicationPool Class
ApplicationContainsVirtualDirectory Class
ApplicationPoolContainsApplication Class
ApplicationPoolContainsProcess Class
ConfiguredObject Class
EmbeddedObject Class
WMI Provider
Object Class
Site Class
SiteContainsApplication Class
VirtualDirectory Class
WorkerProcess Class
WorkerProcessContainsAppDomain Class