IDatabasePermission Interface
Represents a SQL Server database permission.
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
| Name | Description | |
|---|---|---|
![]() | DatabasePrincipal | Gets the IDatabasePrincipal object that has the permission. |
![]() | Grantor | Gets the database principal who granted or denied access to the target object. |
![]() | Name | Gets the name of the metadata object.(Inherited from IMetadataObject.) |
![]() | PermissionState | Gets the permission state of the target object to which the permission applies, such as whether the permission is granted, denied, granted with grant, or revoked. |
![]() | PermissionType | Gets the type of permission. |
![]() | TargetObject | Gets the target object of the permission. |
| Name | Description | |
|---|---|---|
![]() | Accept<T>(IMetadataObjectVisitor<T>^) | Accepts a visit from the specified IMetadataObjectVisitor<T> object.(Inherited from IMetadataObject.) |
Show:

