Condividi tramite


Proprietà Grantor

Gets the name of the database user, logon, or database role who granted or denied access to the object.

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

Sintassi

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

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

Valore proprietà

Tipo: System. . :: . .String
A String value that specifies the name of the grantee.

Osservazioni

This property is empty when column permissions are not enumerated.