Export (0) Print
Expand All
Expand Minimize

SPWebApplication.Sites Property

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

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public SPSiteCollection Sites { get; }

Property Value

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

Community Additions

ADD
Show:
© 2014 Microsoft