Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Remove Method
Collapse the table of content
Expand the table of content

DatabasePermissionSet.Remove Method

Removes a permission from the permission set.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public DatabasePermissionSet Remove(
	DatabasePermission permission


Type: Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that specifies the permission to remove.

Return Value

Type: Microsoft.SqlServer.Management.Smo.DatabasePermissionSet
A DatabasePermissionSet object that specifies the permission set after the permission is removed.

Community Additions

© 2015 Microsoft