MemberGroupManager.Count Property

Gets the total number of member groups.

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

Syntax

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

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

Property Value

Type: System.Int32
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