Export (0) Print
Expand All

IDatabasePermission Interface

Represents a SQL Server database permission.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

public interface IDatabasePermission : IMetadataObject

The IDatabasePermission type exposes the following members.

  NameDescription
Public propertyDatabasePrincipalGets the IDatabasePrincipal object that has the permission.
Public propertyGrantorGets the database principal who granted or denied access to the target object.
Public propertyNameGets the name of the metadata object. (Inherited from IMetadataObject.)
Public propertyPermissionStateGets 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.
Public propertyPermissionTypeGets the type of permission.
Public propertyTargetObjectGets the target object of the permission.
Top

  NameDescription
Public methodAccept<T>Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft