PermissionInfo Members

The PermissionInfo class represents information regarding granted or denied privileges.

The following tables list the members exposed by the PermissionInfo type.

Public Properties

(see also Protected Properties )

  名称 Description
ms219982.pubproperty(zh-cn,SQL.90).gif ColumnName Gets the name of the column that has permissions granted or denied.
ms219982.pubproperty(zh-cn,SQL.90).gif Grantee Gets the name of the database user, logon, or database role who has been granted or denied access to the object.
ms219982.pubproperty(zh-cn,SQL.90).gif GranteeType Gets the type of grantee.
ms219982.pubproperty(zh-cn,SQL.90).gif Grantor Gets the name of the database user, logon, or database role who granted or denied access to the object.
ms219982.pubproperty(zh-cn,SQL.90).gif GrantorType Gets the type of grantor.
ms219982.pubproperty(zh-cn,SQL.90).gif ObjectClass Gets the object class for the object to which permissions have been granted or denied.
ms219982.pubproperty(zh-cn,SQL.90).gif ObjectID Gets the ID value that uniquely identifies the object to which the permission applies.
ms219982.pubproperty(zh-cn,SQL.90).gif ObjectName Gets the name of the object to which the permission applies.
ms219982.pubproperty(zh-cn,SQL.90).gif ObjectSchema Gets the schema of the object to which the permission applies.
ms219982.pubproperty(zh-cn,SQL.90).gif 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.

顶部

Protected Properties

  名称 Description
ms219982.protproperty(zh-cn,SQL.90).gif PermissionTypeInternal  

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms219982.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms219982.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms219982.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms219982.pubmethod(zh-cn,SQL.90).gifms219982.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms219982.pubmethod(zh-cn,SQL.90).gif ToString Overridden. Returns the object as a String value.

顶部

Protected Methods

  名称 Description
ms219982.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms219982.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

PermissionInfo Class
Microsoft.SqlServer.Management.Smo Namespace

其他资源

Granting, Revoking, and Denying Permissions
权限
sys.syspermissions (Transact-SQL)