Compartilhar via


Método Revoke (ObjectPermissionSet, String)

Revoga um conjunto de permissões concedido anteriormente de um usuário autorizado na tabela.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub Revoke ( _
    permission As ObjectPermissionSet, _
    granteeName As String _
)
'Uso
Dim instance As Table
Dim permission As ObjectPermissionSet
Dim granteeName As String

instance.Revoke(permission, granteeName)
public void Revoke(
    ObjectPermissionSet permission,
    string granteeName
)
public:
virtual void Revoke(
    ObjectPermissionSet^ permission, 
    String^ granteeName
) sealed
abstract Revoke : 
        permission:ObjectPermissionSet * 
        granteeName:string -> unit 
override Revoke : 
        permission:ObjectPermissionSet * 
        granteeName:string -> unit 
public final function Revoke(
    permission : ObjectPermissionSet, 
    granteeName : String
)

Parâmetros

  • granteeName
    Tipo: System. . :: . .String
    Um valor String que especifica um usuário autorizado do qual será revogado o conjunto de permissões.

Implementa

IObjectPermission. . :: . .Revoke(ObjectPermissionSet, String)