Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | 
|---|---|
| Provides a relationship between an IIS application and its virtual directories. | |
| Provides a relationship between an application pool and its applications. | |
| Provides a relationship between an application pool and its worker processes. | |
| Provides a relationship between a Web server and its application pools. | |
| Provides a relationship between a Web server and its Web sites. | |
| Provides a relationship between a Secure Sockets Layer (SSL) binding and a Web server that is running IIS. | |
| Provides a relationship between a Web site and its applications. | |
| Provides a relationship between an IIS Web site and a Secure Sockets Layer (SSL) binding. | |
| 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 | Requires IIS 7 on Windows Vista. | 
| Server | Requires IIS 7 on Windows Server 2008. | 
| Product | IIS 7 | 
| MOF file | WebAdministration.mof | 
See Also
Reference
AppDomain Class [IIS 7 and higher]
Application Class [IIS 7 and higher]
ApplicationPool Class [IIS 7 and higher]
ApplicationContainsVirtualDirectory Class [IIS 7 and higher]
ApplicationPoolContainsApplication Class [IIS 7 and higher]
ApplicationPoolContainsProcess Class [IIS 7 and higher]
ConfiguredObject Class [IIS 7 and higher]
EmbeddedObject Class [IIS 7 and higher]
Object Class [IIS 7 and higher]
SiteContainsApplication Class [IIS 7 and higher]
VirtualDirectory Class [IIS 7 and higher]
WorkerProcess Class [IIS 7 and higher]
WorkerProcessContainsAppDomain Class [IIS 7 and higher]