Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Server.Deny Method

Denies the specified set of permissions for the specified grantees on the instance of Microsoft SQL Server.

Updated text:

The Deny method has several overloads that give you a choice of whether to deny permissions to a single grantee or several grantees. You can also decide whether to include the Cascade option. The Cascade option determines whether the permissions that were denied by the grantees are also denied to other users.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Name Description
Server.Deny (ServerPermissionSet, String)
Denies the specified set of permissions for the specified grantee on the instance of Microsoft SQL Server.
Server.Deny (ServerPermissionSet, String[])
Denies the specified set of permissions for the specified grantees on the instance of Microsoft SQL Server.
Server.Deny (ServerPermissionSet, 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 instance of Microsoft SQL Server.
Server.Deny (ServerPermissionSet, 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 instance of Microsoft SQL Server.

Release

History

New content:
  • Added code sample to the Example section.

Community Additions

ADD
Show:
© 2015 Microsoft