Remove Method

SQLServer.Database.Group Object

Description

Drops the SQL Server group and removes the Group object.

Visual Basic

Group.Remove

C++

HRESULT pGroup->Remove ( );

Remarks

You cannot remove the public group.

Reference

sp_dropgroup