DatabaseRole.Deny Method
Denies the specified set of permissions for the specified grantees on the database role.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Overload List
Name | Description |
---|---|
DatabaseRole.Deny (ObjectPermissionSet, String) |
Denies the specified set of permissions for the specified grantee on the database role.
|
DatabaseRole.Deny (ObjectPermissionSet, String[]) |
Denies the specified set of permissions for the specified grantees on the database role.
|
DatabaseRole.Deny (ObjectPermissionSet, String, Boolean) |
Denies the specified set of permissions for the specified grantee and other users that the grantee granted the specified set of permissions on the database role.
|
DatabaseRole.Deny (ObjectPermissionSet, String[], Boolean) |
Denies the specified set of permissions for the specified grantees and other users that the grantee granted the specified set of permissions on the database role.
|
See Also
Reference
DatabaseRole Class
DatabaseRole Members
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
Granting, Revoking, and Denying Permissions
Managing Users, Roles, and Logins
Database Roles
CREATE ROLE (Transact-SQL)