ServerManager.Sites Property

IIS 7.0
 

Gets the collection of Web sites that are configured on the current server.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public SiteCollection Sites { get; }

Property Value

Type: Microsoft.Web.Administration.SiteCollection

A T:System.ApplicationHost.Configuration.SiteCollection object that represents Web sites on the current server.

Return to top
Show: