Share via


Membership.MembershipGroup Property

Gets the membership group.

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

Syntax

'Declaration
Public ReadOnly Property MembershipGroup As MemberGroup
    Get
'Usage
Dim instance As Membership
Dim value As MemberGroup

value = instance.MembershipGroup
public MemberGroup MembershipGroup { get; }

Property Value

Type: Microsoft.Office.Server.UserProfiles.MemberGroup
The member group for the membership.

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