Partilhar via


View.Deny Method

Definition

Overloads

Deny(ObjectPermissionSet, String[], String[], Boolean)
Deny(ObjectPermissionSet, String, String[], Boolean)
Deny(ObjectPermissionSet, String[], String[])
Deny(ObjectPermissionSet, String[], Boolean)
Deny(ObjectPermissionSet, String[])
Deny(ObjectPermissionSet, String, Boolean)
Deny(ObjectPermissionSet, String)
Deny(ObjectPermissionSet, String, String[])

Deny(ObjectPermissionSet, String[], String[], Boolean)

public void Deny (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string[] granteeNames, string[] columnNames, bool cascade);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * string[] * bool -> unit
override this.Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * string[] * bool -> unit
Public Sub Deny (permission As ObjectPermissionSet, granteeNames As String(), columnNames As String(), cascade As Boolean)

Parameters

permission
ObjectPermissionSet
granteeNames
String[]
columnNames
String[]
cascade
Boolean

Implements

Applies to

Deny(ObjectPermissionSet, String, String[], Boolean)

public void Deny (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string granteeName, string[] columnNames, bool cascade);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * string[] * bool -> unit
override this.Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * string[] * bool -> unit
Public Sub Deny (permission As ObjectPermissionSet, granteeName As String, columnNames As String(), cascade As Boolean)

Parameters

permission
ObjectPermissionSet
granteeName
String
columnNames
String[]
cascade
Boolean

Implements

Applies to

Deny(ObjectPermissionSet, String[], String[])

public void Deny (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string[] granteeNames, string[] columnNames);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * string[] -> unit
override this.Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * string[] -> unit
Public Sub Deny (permission As ObjectPermissionSet, granteeNames As String(), columnNames As String())

Parameters

permission
ObjectPermissionSet
granteeNames
String[]
columnNames
String[]

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

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)

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, String[])

public void Deny (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string granteeName, string[] columnNames);
abstract member Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * string[] -> unit
override this.Deny : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * string[] -> unit
Public Sub Deny (permission As ObjectPermissionSet, granteeName As String, columnNames As String())

Parameters

permission
ObjectPermissionSet
granteeName
String
columnNames
String[]

Implements

Applies to