SPContentDatabase.Sites property

Gets the collection of site collections that are represented in the content database.

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


Public ReadOnly Property Sites As SPSiteCollection
Dim instance As SPContentDatabase
Dim value As SPSiteCollection

value = instance.Sites
public SPSiteCollection Sites { get; }

Property value

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

See also


SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace