Endpoint.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(ObjectPermissionSet, String) | |
Deny(ObjectPermissionSet, String[]) | |
Deny(ObjectPermissionSet, String, Boolean) | |
Deny(ObjectPermissionSet, String[], Boolean) |
Deny(ObjectPermissionSet, String)
public void Deny (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string granteeName);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string -> unit
override this.Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string -> unit
Public Sub Deny (permission As ObjectPermissionSet, granteeName As String)
Parameters
- permission
- ObjectPermissionSet
- granteeName
- String
Implements
Applies to
Deny(ObjectPermissionSet, String[])
public void Deny (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string[] granteeNames);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] -> unit
override this.Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] -> unit
Public Sub Deny (permission As ObjectPermissionSet, granteeNames As String())
Parameters
- permission
- ObjectPermissionSet
- granteeNames
- String[]
Implements
Applies to
Deny(ObjectPermissionSet, String, Boolean)
public void Deny (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string granteeName, bool cascade);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * bool -> unit
override this.Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * bool -> unit
Public Sub Deny (permission As ObjectPermissionSet, granteeName As String, cascade As Boolean)
Parameters
- permission
- ObjectPermissionSet
- granteeName
- String
- cascade
- Boolean
Implements
Applies to
Deny(ObjectPermissionSet, String[], Boolean)
public void Deny (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string[] granteeNames, bool cascade);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * bool -> unit
override this.Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * bool -> unit
Public Sub Deny (permission As ObjectPermissionSet, granteeNames As String(), cascade As Boolean)
Parameters
- permission
- ObjectPermissionSet
- granteeNames
- String[]
- cascade
- Boolean