Sites Property
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

SPWebApplication.Sites Property

Windows SharePoint Services 3

Gets the collection of all site collections in the Web application.

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

public SPSiteCollection Sites { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPSiteCollection
An SPSiteCollection object that represents the collection of site collections.
Show:
© 2016 Microsoft