SPContentDatabase.CurrentSiteCount Property
Gets the current number 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 CurrentSiteCount As Integer
Get
'Usage
Dim instance As SPContentDatabase
Dim value As Integer
value = instance.CurrentSiteCount
public int CurrentSiteCount { get; }
Property Value
Type: System.Int32
A 32-bit integer that indicates the current number of top-level sites.