Класс PermissionInfo
The PermissionInfo class represents information regarding granted or denied privileges.
Иерархия наследования
System.Object
Microsoft.SqlServer.Management.Smo.PermissionInfo
Microsoft.SqlServer.Management.Smo.DatabasePermissionInfo
Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo
Microsoft.SqlServer.Management.Smo.ServerPermissionInfo
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Class PermissionInfo
'Применение
Dim instance As PermissionInfo
public class PermissionInfo
public ref class PermissionInfo
type PermissionInfo = class end
public class PermissionInfo
Тип PermissionInfo обеспечивает доступ к следующим элементам.
Свойства
Имя | Описание | |
---|---|---|
![]() |
ColumnName | Gets the name of the column that has permissions granted or denied. |
![]() |
Grantee | Gets the name of the database user, logon, or database role who has been granted or denied access to the object. |
![]() |
GranteeType | Gets the type of grantee. |
![]() |
Grantor | Gets the name of the database user, logon, or database role who granted or denied access to the object. |
![]() |
GrantorType | Gets the type of grantor. |
![]() |
ObjectClass | Gets the object class for the object to which permissions have been granted or denied. |
![]() |
ObjectID | Gets the ID value that uniquely identifies the object to which the permission applies. |
![]() |
ObjectName | Gets the name of the object to which the permission applies. |
![]() |
ObjectSchema | Gets the schema of the object to which the permission applies. |
![]() |
PermissionState | Gets the permission state of the object to which the permission applies, such as whether the permission is granted, denied, granted with grant, or revoked. |
![]() |
PermissionTypeInternal | Указано только в ознакомительных целях. Не поддерживается. Совместимость с будущими версиями не гарантируется. |
В начало
Методы
Имя | Описание | |
---|---|---|
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
ToString | Returns the object as a String value. (Переопределяет Object.ToString().) |
В начало
Замечания
The PermissionInfo object is returned by the EnumObjectPermissions method.
Примеры
Предоставление, отмена и запрет разрешений
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo