다음을 통해 공유


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)

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.

See also

Reference

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace