Share via


Membership.Delete Method

Deletes a membership.

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

Syntax

'Declaration
Public Overrides Sub Delete
'Usage
Dim instance As Membership

instance.Delete()
public override 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

Membership Class

Membership Members

Microsoft.Office.Server.UserProfiles Namespace