共用方式為


SPSiteAdministration.UsersCount property

在此網站集合中取得的使用者。

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

Syntax

'宣告
Public ReadOnly Property UsersCount As Integer
    Get
'用途
Dim instance As SPSiteAdministration
Dim value As Integer

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

Property value

Type: System.Int32
32 位元整數,其中包含使用者人數。

請參閱

參照

SPSiteAdministration class

SPSiteAdministration members

Microsoft.SharePoint.Administration namespace