Server.Revoke 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
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