Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Remove method of the SPGroupCollection class removes the cross-site group with the specified name from the collection.
Parameters
name A string that contains the name of the group.
Example
The following code example removes a specified cross-site group from the current site collection.
This example requires using directives (Imports in Visual Basic) for both the Microsoft.SharePoint and Microsoft.SharePoint.WebControls namespaces.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security