Share via


IMutableDatabaseRole Interface

Represents a mutable SQL Server database security role.

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

Syntax

'Declaration
Public Interface IMutableDatabaseRole _
    Inherits IDatabaseRole, IMutableDatabasePrincipal, IDatabasePrincipal, IMutableDatabaseOwnedObject,  _
    IDatabaseOwnedObject, IMutableDatabaseObject, IDatabaseObject, IMutableMetadataObject, IMetadataObject
'Usage
Dim instance As IMutableDatabaseRole
public interface IMutableDatabaseRole : IDatabaseRole, 
    IMutableDatabasePrincipal, IDatabasePrincipal, IMutableDatabaseOwnedObject, IDatabaseOwnedObject, IMutableDatabaseObject, 
    IDatabaseObject, IMutableMetadataObject, IMetadataObject
public interface class IMutableDatabaseRole : IDatabaseRole, 
    IMutableDatabasePrincipal, IDatabasePrincipal, IMutableDatabaseOwnedObject, IDatabaseOwnedObject, IMutableDatabaseObject, 
    IDatabaseObject, IMutableMetadataObject, IMetadataObject
type IMutableDatabaseRole =  
    interface
        interface IDatabaseRole
        interface IMutableDatabasePrincipal
        interface IDatabasePrincipal
        interface IMutableDatabaseOwnedObject
        interface IDatabaseOwnedObject
        interface IMutableDatabaseObject
        interface IDatabaseObject
        interface IMutableMetadataObject
        interface IMetadataObject
    end
public interface IMutableDatabaseRole extends IDatabaseRole, IMutableDatabasePrincipal, IDatabasePrincipal, IMutableDatabaseOwnedObject, IDatabaseOwnedObject, IMutableDatabaseObject, IDatabaseObject, IMutableMetadataObject, IMetadataObject

The IMutableDatabaseRole type exposes the following members.

Properties

  Name Description
Public property Database Gets the IDatabase object that owns this object. (Inherited from IDatabaseOwnedObject.)
Public property IsFixedRole Gets a value that indicates whether the database role is a fixed role or a user-defined role. (Inherited from IDatabaseRole.)
Public property IsFixedRole Gets or sets a value that indicates whether the database role is a fixed role or a user-defined role.
Public property IsSystemObject Gets a value that indicates whether this is a system object. (Inherited from IDatabaseObject.)
Public property IsSystemObject Gets or sets a value that indicates whether this is a system object. (Inherited from IMutableDatabaseObject.)
Public property Name Gets the name of the metadata object. (Inherited from IMetadataObject.)
Public property Owner Gets the IDatabasePrincipal object that represents the owner of the database role. (Inherited from IDatabaseRole.)
Public property Owner Gets or sets the IDatabasePrincipal object that represents the owner of the database role.
Public property Parent Gets the IDatabaseObject object that is the parent of this object. (Inherited from IDatabaseObject.)

Top

Methods

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

Top