Share via


SPFarmManagedAccountCollection.Count property

Gets the number of the accounts in the collection.

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

Syntax

'Declaration
Public ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As SPFarmManagedAccountCollection
Dim value As Integer

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

Property value

Type: System.Int32
The number of the accounts in the collection.

Implements

ICollection<T>.Count

See also

Reference

SPFarmManagedAccountCollection class

SPFarmManagedAccountCollection members

Microsoft.SharePoint.Administration namespace