共用方式為


BrokerPriority.Revoke Method

Definition

Overloads

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

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

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

Parameters

permission
ObjectPermissionSet
granteeNames
String[]
revokeGrant
Boolean
cascade
Boolean
asRole
String

Applies to

Revoke(ObjectPermissionSet, String)

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

Parameters

permission
ObjectPermissionSet
granteeName
String

Implements

Applies to

Revoke(ObjectPermissionSet, String[])

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

Parameters

permission
ObjectPermissionSet
granteeNames
String[]

Implements

Applies to

Revoke(ObjectPermissionSet, String, Boolean, Boolean)

public void Revoke (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string granteeName, bool revokeGrant, bool cascade);
member this.Revoke : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * bool * bool -> unit
Public Sub Revoke (permission As ObjectPermissionSet, granteeName As String, revokeGrant As Boolean, cascade As Boolean)

Parameters

permission
ObjectPermissionSet
granteeName
String
revokeGrant
Boolean
cascade
Boolean

Applies to

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

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

Parameters

permission
ObjectPermissionSet
granteeNames
String[]
revokeGrant
Boolean
cascade
Boolean

Implements

Applies to

Revoke(ObjectPermissionSet, String, Boolean, Boolean, String)

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

Parameters

permission
ObjectPermissionSet
granteeName
String
revokeGrant
Boolean
cascade
Boolean
asRole
String

Implements

Applies to