The ObjectPermissionInfo object represents information about a Microsoft SQL Server object permission.
The following tables list the members exposed by the ObjectPermissionInfo type.
Public Constructors
| 名称 | Description | |
|---|---|---|
| ObjectPermissionInfo | Initializes a new instance of the ObjectPermissionInfo class. | 
顶部
Public Properties
(see also Protected Properties )
| 名称 | Description | |
|---|---|---|
| .gif) | ColumnName | Gets the name of the column that has permissions granted or denied. (inherited from PermissionInfo) | 
| .gif) | Grantee | Gets the name of the database user, logon, or database role who has been granted or denied access to the object. (inherited from PermissionInfo) | 
| .gif) | GranteeType | Gets the type of grantee. (inherited from PermissionInfo) | 
| .gif) | Grantor | Gets the name of the database user, logon, or database role who granted or denied access to the object. (inherited from PermissionInfo) | 
| .gif) | GrantorType | Gets the type of grantor. (inherited from PermissionInfo) | 
| .gif) | ObjectClass | Gets the object class for the object to which permissions have been granted or denied. (inherited from PermissionInfo) | 
| .gif) | ObjectID | Gets the ID value that uniquely identifies the object to which the permission applies. (inherited from PermissionInfo) | 
| .gif) | ObjectName | Gets the name of the object to which the permission applies. (inherited from PermissionInfo) | 
| .gif) | ObjectSchema | Gets the schema of the object to which the permission applies. (inherited from PermissionInfo) | 
| .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. (inherited from PermissionInfo) | 
| .gif) | PermissionType | Gets the type of permission. | 
顶部
Protected Properties
| 名称 | Description | |
|---|---|---|
| .gif) | PermissionTypeInternal | (inherited from PermissionInfo ) | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | ToString | Returns the object as a String value. (inherited from PermissionInfo) | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
请参阅
参考
ObjectPermissionInfo Class
Microsoft.SqlServer.Management.Smo Namespace
其他资源
How to: Grant Server Permissions in Visual Basic .NET
Granting, Revoking, and Denying Permissions