PermissionInfo 类

The PermissionInfo class represents information regarding granted or denied privileges.

命名空间:  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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。