Any suggestions? Export (0) Print
Expand All

DatabasePermissionSet.Remove Method (DatabasePermission)


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.

Return to top
© 2016 Microsoft