Database.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(DatabasePermissionSet, String[], Boolean, Boolean, String)
public void Revoke (Microsoft.SqlServer.Management.Smo.DatabasePermissionSet permission, string[] granteeNames, bool revokeGrant, bool cascade, string asRole);
member this.Revoke : Microsoft.SqlServer.Management.Smo.DatabasePermissionSet * string[] * bool * bool * string -> unit
Public Sub Revoke (permission As DatabasePermissionSet, granteeNames As String(), revokeGrant As Boolean, cascade As Boolean, asRole As String)
Parameters
- permission
- DatabasePermissionSet
- granteeNames
- String[]
- revokeGrant
- Boolean
- cascade
- Boolean
- asRole
- String
Applies to
Revoke(DatabasePermissionSet, String)
public void Revoke (Microsoft.SqlServer.Management.Smo.DatabasePermissionSet permission, string granteeName);
member this.Revoke : Microsoft.SqlServer.Management.Smo.DatabasePermissionSet * string -> unit
Public Sub Revoke (permission As DatabasePermissionSet, granteeName As String)
Parameters
- permission
- DatabasePermissionSet
- granteeName
- String
Applies to
Revoke(DatabasePermissionSet, String[])
public void Revoke (Microsoft.SqlServer.Management.Smo.DatabasePermissionSet permission, string[] granteeNames);
member this.Revoke : Microsoft.SqlServer.Management.Smo.DatabasePermissionSet * string[] -> unit
Public Sub Revoke (permission As DatabasePermissionSet, granteeNames As String())
Parameters
- permission
- DatabasePermissionSet
- granteeNames
- String[]
Applies to
Revoke(DatabasePermissionSet, String, Boolean, Boolean)
public void Revoke (Microsoft.SqlServer.Management.Smo.DatabasePermissionSet permission, string granteeName, bool revokeGrant, bool cascade);
member this.Revoke : Microsoft.SqlServer.Management.Smo.DatabasePermissionSet * string * bool * bool -> unit
Public Sub Revoke (permission As DatabasePermissionSet, granteeName As String, revokeGrant As Boolean, cascade As Boolean)
Parameters
- permission
- DatabasePermissionSet
- granteeName
- String
- revokeGrant
- Boolean
- cascade
- Boolean
Applies to
Revoke(DatabasePermissionSet, String[], Boolean, Boolean)
public void Revoke (Microsoft.SqlServer.Management.Smo.DatabasePermissionSet permission, string[] granteeNames, bool revokeGrant, bool cascade);
member this.Revoke : Microsoft.SqlServer.Management.Smo.DatabasePermissionSet * string[] * bool * bool -> unit
Public Sub Revoke (permission As DatabasePermissionSet, granteeNames As String(), revokeGrant As Boolean, cascade As Boolean)
Parameters
- permission
- DatabasePermissionSet
- granteeNames
- String[]
- revokeGrant
- Boolean
- cascade
- Boolean
Applies to
Revoke(DatabasePermissionSet, String, Boolean, Boolean, String)
public void Revoke (Microsoft.SqlServer.Management.Smo.DatabasePermissionSet permission, string granteeName, bool revokeGrant, bool cascade, string asRole);
member this.Revoke : Microsoft.SqlServer.Management.Smo.DatabasePermissionSet * string * bool * bool * string -> unit
Public Sub Revoke (permission As DatabasePermissionSet, granteeName As String, revokeGrant As Boolean, cascade As Boolean, asRole As String)
Parameters
- permission
- DatabasePermissionSet
- granteeName
- String
- revokeGrant
- Boolean
- cascade
- Boolean
- asRole
- String