Share via


ServerContainsSite Class [IIS 7 and higher]

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

Syntax

class ServerContainsSite : ObjectContainerAssociation

Methods

This class contains no methods.

Properties

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.

Subclasses

This class contains no subclasses.

Inheritance Hierarchy

ObjectContainerAssociation

   ServerContainsSite

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

ObjectContainerAssociation Class [IIS 7 and higher]

Server Class [IIS 7 and higher]

Site Class [IIS 7 and higher]