ServerContainsSite Class1

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


class ServerContainsSite : ObjectContainerAssociation  


This class contains no methods.


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

Name Description
Container (Inherited from ObjectContainerAssociation.) A Server object that represents a Web server. A key property.
Element (Inherited from ObjectContainerAssociation.) A Site object that represents a Web site. A key property.


This class contains no subclasses.

Inheritance Hierarchy




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

ObjectContainerAssociation Class
Server Class
Site Class