Share via


MemberGroupManager.Count property

Gets the total number of member groups.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property Count As Long
    Get
'Usage
Dim instance As MemberGroupManager
Dim value As Long

value = instance.Count
public override long Count { get; }

Property value

Type: System.Int64
The number of member groups that the member group manager is managing.

Remarks

For more information about types of membership groups, see Memberships Overview. For a code example about how to create a member group and add a member to the newly created group, see How to: Create Memberships.

See also

Reference

MemberGroupManager class

MemberGroupManager members

Microsoft.Office.Server.UserProfiles namespace