Condividi tramite


Proprietà Grantee

Ottiene il nome dell'utente del database, l'account di accesso o il ruolo del database a cui è stato concesso o negato l'accesso all'oggetto.

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

Sintassi

'Dichiarazione
Public ReadOnly Property Grantee As String
    Get
'Utilizzo
Dim instance As PermissionInfo
Dim value As String

value = instance.Grantee
public string Grantee { get; }
public:
property String^ Grantee {
    String^ get ();
}
member Grantee : string
function get Grantee () : String

Valore proprietà

Tipo: System. . :: . .String
Valore String che specifica il nome dell'utente autorizzato.

Osservazioni

This property is empty when column permissions are not enumerated.