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
)

Parameters

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
Show: