Export (0) Print
Expand All

ObjectPermissionSet.Remove Method

Removes a permission from the permission set.

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

public ObjectPermissionSet Remove(
	ObjectPermission permission


Type: Microsoft.SqlServer.Management.Smo.ObjectPermission
An ObjectPermission object that specifies the permission to remove.

Return Value

Type: Microsoft.SqlServer.Management.Smo.ObjectPermissionSet
An ObjectPermissionSet object that specifies the permission set after the permission is removed.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft