Compartilhar via


XmlSchemaCollection.Deny Method

Definition

Overloads

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

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

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