Share via


Server.Revoke Method

Definition

Overloads

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

Revoke(ServerPermissionSet, String[])

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

Parameters

permission
ServerPermissionSet
granteeNames
String[]

Applies to

Revoke(ServerPermissionSet, String, Boolean, Boolean)

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

Parameters

permission
ServerPermissionSet
granteeName
String
revokeGrant
Boolean
cascade
Boolean

Applies to

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

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

Parameters

permission
ServerPermissionSet
granteeNames
String[]
revokeGrant
Boolean
cascade
Boolean

Applies to

Revoke(ServerPermissionSet, String, Boolean, Boolean, String)

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

Parameters

permission
ServerPermissionSet
granteeName
String
revokeGrant
Boolean
cascade
Boolean
asRole
String

Applies to

Revoke(ServerPermissionSet, String)

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

Parameters

permission
ServerPermissionSet
granteeName
String

Applies to

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

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

Parameters

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

Applies to