共用方式為


SPContentDatabase.CurrentSiteCount property

取得目前的數字表示的網站集合的內容資料庫中。

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

Syntax

'宣告
Public ReadOnly Property CurrentSiteCount As Integer
    Get
'用途
Dim instance As SPContentDatabase
Dim value As Integer

value = instance.CurrentSiteCount
public int CurrentSiteCount { get; }

Property value

Type: System.Int32
32 位元整數,指出目前的最上層網站數。

請參閱

參照

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace