TechNet
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

NameDescription
System_CAPS_pubpropertyDatabasePrincipal

Gets the IDatabasePrincipal object that has the permission.

System_CAPS_pubpropertyGrantor

Gets the database principal who granted or denied access to the target object.

System_CAPS_pubpropertyName

Gets the name of the metadata object.(Inherited from IMetadataObject.)

System_CAPS_pubpropertyPermissionState

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.

System_CAPS_pubpropertyPermissionType

Gets the type of permission.

System_CAPS_pubpropertyTargetObject

Gets the target object of the permission.

NameDescription
System_CAPS_pubmethodAccept<T>(IMetadataObjectVisitor<T>)

Accepts a visit from the specified IMetadataObjectVisitor<T> object.(Inherited from IMetadataObject.)

Return to top
Show:
© 2016 Microsoft