Server.Deny Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Deny(ServerPermissionSet, String, Boolean) | |
Deny(ServerPermissionSet, String[], Boolean) | |
Deny(ServerPermissionSet, String) | |
Deny(ServerPermissionSet, String[]) |
Deny(ServerPermissionSet, String, Boolean)
public void Deny (Microsoft.SqlServer.Management.Smo.ServerPermissionSet permission, string granteeName, bool cascade);
member this.Deny : Microsoft.SqlServer.Management.Smo.ServerPermissionSet * string * bool -> unit
Public Sub Deny (permission As ServerPermissionSet, granteeName As String, cascade As Boolean)
Parameters
- permission
- ServerPermissionSet
- granteeName
- String
- cascade
- Boolean
Applies to
Deny(ServerPermissionSet, String[], Boolean)
public void Deny (Microsoft.SqlServer.Management.Smo.ServerPermissionSet permission, string[] granteeNames, bool cascade);
member this.Deny : Microsoft.SqlServer.Management.Smo.ServerPermissionSet * string[] * bool -> unit
Public Sub Deny (permission As ServerPermissionSet, granteeNames As String(), cascade As Boolean)
Parameters
- permission
- ServerPermissionSet
- granteeNames
- String[]
- cascade
- Boolean
Applies to
Deny(ServerPermissionSet, String)
public void Deny (Microsoft.SqlServer.Management.Smo.ServerPermissionSet permission, string granteeName);
member this.Deny : Microsoft.SqlServer.Management.Smo.ServerPermissionSet * string -> unit
Public Sub Deny (permission As ServerPermissionSet, granteeName As String)
Parameters
- permission
- ServerPermissionSet
- granteeName
- String
Applies to
Deny(ServerPermissionSet, String[])
public void Deny (Microsoft.SqlServer.Management.Smo.ServerPermissionSet permission, string[] granteeNames);
member this.Deny : Microsoft.SqlServer.Management.Smo.ServerPermissionSet * string[] -> unit
Public Sub Deny (permission As ServerPermissionSet, granteeNames As String())
Parameters
- permission
- ServerPermissionSet
- granteeNames
- String[]