Share via


Membership.GroupType Property

Gets and sets the type of membership group.

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

Syntax

'Declaration
Public Property GroupType As MembershipGroupType
    Get
    Set
'Usage
Dim instance As Membership
Dim value As MembershipGroupType

value = instance.GroupType

instance.GroupType = value
public MembershipGroupType GroupType { get; set; }

Property Value

Type: Microsoft.Office.Server.UserProfiles.MembershipGroupType
The type of membership group.

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

Membership Class

Membership Members

Microsoft.Office.Server.UserProfiles Namespace