Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)

public SPSiteCollection Sites { get; }

Property value

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