Partilhar via


SPFarmManagedAccountCollection.Count Property

Gets the number of the accounts in the collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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