Condividi tramite


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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property Sites As SPSiteCollection
    Get
'Usage
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

Reference

SPContentDatabase Class

SPContentDatabase Members

Microsoft.SharePoint.Administration Namespace