Поделиться через


Свойство PermissionInfo.Grantor

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public ReadOnly Property Grantor As String 
    Get
'Применение
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

Значение свойства

Тип: System.String
A String value that specifies the name of the grantee.

Замечания

This property is empty when column permissions are not enumerated.

Примеры

Предоставление, отмена и запрет разрешений

См. также

Справочник

PermissionInfo Класс

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Разрешения (компонент Database Engine)

sys.syspermissions (Transact-SQL)