SPContentDatabase.Sites Property (Microsoft.SharePoint.Administration)
Gets the collection of site collections that are represented in the content database.

Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public ReadOnly Property Sites As SPSiteCollection
Visual Basic (Usage)
Dim instance As SPContentDatabase
Dim value As SPSiteCollection

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

Property Value

An SPSiteCollection object that represents the collection of site collections.
See Also

Tags :


Page view tracker