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 | This is an internal property not meant to be used in your code. |
页首
方法
名称 | 说明 | |
---|---|---|
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.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。