Share via


IMutableDatabasePermission Interface

Represents a mutable SQL Server database permission.

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

Syntax

'Declaration
Public Interface IMutableDatabasePermission _
    Inherits IDatabasePermission, IMetadataObject
'Usage
Dim instance As IMutableDatabasePermission
public interface IMutableDatabasePermission : IDatabasePermission, 
    IMetadataObject
public interface class IMutableDatabasePermission : IDatabasePermission, 
    IMetadataObject
type IMutableDatabasePermission =  
    interface 
        interface IDatabasePermission 
        interface IMetadataObject 
    end
public interface IMutableDatabasePermission extends IDatabasePermission, IMetadataObject

The IMutableDatabasePermission type exposes the following members.

Properties

  Name Description
Public property DatabasePrincipal Gets the IDatabasePrincipal object that has the permission. (Inherited from IDatabasePermission.)
Public property Grantor Gets the database principal who granted or denied access to the target object. (Inherited from IDatabasePermission.)
Public property Name Gets the name of the metadata object. (Inherited from IMetadataObject.)
Public property PermissionState Gets or sets the permission state.
Public property PermissionType Gets the type of permission. (Inherited from IDatabasePermission.)
Public property TargetObject Gets the target object of the permission. (Inherited from IDatabasePermission.)

Top

Methods

  Name Description
Public method Accept<T> Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)

Top

See Also

Reference

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace