共用方式為


SPFarmManagedAccountCollection.Count property

取得集合中的帳號數目。

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

Syntax

'宣告
Public ReadOnly Property Count As Integer
    Get
'用途
Dim instance As SPFarmManagedAccountCollection
Dim value As Integer

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

Property value

Type: System.Int32
集合中的帳戶數目。

Implements

ICollection<T>.Count

請參閱

參照

SPFarmManagedAccountCollection class

SPFarmManagedAccountCollection members

Microsoft.SharePoint.Administration namespace