Metodo Revoke (ObjectPermissionSet, String, String[])

Revoca un set di autorizzazioni precedentemente concesso a un utente autorizzato nelle colonne specificate della tabella.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub Revoke ( _
    permission As ObjectPermissionSet, _
    granteeName As String, _
    columnNames As String() _
)
'Utilizzo
Dim instance As Table
Dim permission As ObjectPermissionSet
Dim granteeName As String
Dim columnNames As String()

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

Parametri

  • columnNames
    Tipo: array<System. . :: . .String> [] () [] []
    Valore di matrice String che specifica l'elenco di colonne alle quali viene concesso il set di autorizzazioni.

Implementa

IColumnPermission. . :: . .Revoke(ObjectPermissionSet, String, array<String> [] () [] [])