Share via


MemberGroup.Delete method

Deletes the member group.

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

Syntax

'Declaration
Public Sub Delete
'Usage
Dim instance As MemberGroup

instance.Delete()
public void Delete()

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

MemberGroup class

MemberGroup members

Microsoft.Office.Server.UserProfiles namespace