ServerPermissionInfo 类

The ServerPermissionInfo object represents information about a SQL Server server-level permission.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo. . :: . .PermissionInfo
    Microsoft.SqlServer.Management.Smo..::..ServerPermissionInfo

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Class ServerPermissionInfo _
    Inherits PermissionInfo
用法
Dim instance As ServerPermissionInfo
public class ServerPermissionInfo : PermissionInfo
public ref class ServerPermissionInfo : public PermissionInfo
type ServerPermissionInfo =  
    class
        inherit PermissionInfo
    end
public class ServerPermissionInfo extends PermissionInfo

ServerPermissionInfo 类型公开以下成员。

构造函数

  名称 说明
公共方法 ServerPermissionInfo Initializes a new instance of the ServerPermissionInfo class.

页首

属性

  名称 说明
公共属性 ColumnName Gets the name of the column that has permissions granted or denied. (从 PermissionInfo 继承。)
公共属性 Grantee Gets the name of the database user, logon, or database role who has been granted or denied access to the object. (从 PermissionInfo 继承。)
公共属性 GranteeType Gets the type of grantee. (从 PermissionInfo 继承。)
公共属性 Grantor Gets the name of the database user, logon, or database role who granted or denied access to the object. (从 PermissionInfo 继承。)
公共属性 GrantorType Gets the type of grantor. (从 PermissionInfo 继承。)
公共属性 ObjectClass Gets the object class for the object to which permissions have been granted or denied. (从 PermissionInfo 继承。)
公共属性 ObjectID Gets the ID value that uniquely identifies the object to which the permission applies. (从 PermissionInfo 继承。)
公共属性 ObjectName Gets the name of the object to which the permission applies. (从 PermissionInfo 继承。)
公共属性 ObjectSchema Gets the schema of the object to which the permission applies. (从 PermissionInfo 继承。)
公共属性 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. (从 PermissionInfo 继承。)
公共属性 PermissionType Gets the type of permission.
受保护属性 PermissionTypeInternal This is an internal property not meant to be used in your code. (从 PermissionInfo 继承。)

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString Returns the object as a String value. (从 PermissionInfo 继承。)

页首

注释

Thread Safety

此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。 不保证所有实例成员都对于线程安全的。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。