Share via


IMutableDatabase Interface

Represents a mutable SQL Server database. 

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

Syntax

'Declaration
Public Interface IMutableDatabase _
    Inherits IDatabase, IMutableServerOwnedObject, IServerOwnedObject, IMutableDatabaseObject,  _
    IDatabaseObject, IMutableMetadataObject, IMetadataObject
'Usage
Dim instance As IMutableDatabase
public interface IMutableDatabase : IDatabase, 
    IMutableServerOwnedObject, IServerOwnedObject, IMutableDatabaseObject, IDatabaseObject, IMutableMetadataObject, 
    IMetadataObject
public interface class IMutableDatabase : IDatabase, 
    IMutableServerOwnedObject, IServerOwnedObject, IMutableDatabaseObject, IDatabaseObject, IMutableMetadataObject, 
    IMetadataObject
type IMutableDatabase =  
    interface
        interface IDatabase
        interface IMutableServerOwnedObject
        interface IServerOwnedObject
        interface IMutableDatabaseObject
        interface IDatabaseObject
        interface IMutableMetadataObject
        interface IMetadataObject
    end
public interface IMutableDatabase extends IDatabase, IMutableServerOwnedObject, IServerOwnedObject, IMutableDatabaseObject, IDatabaseObject, IMutableMetadataObject, IMetadataObject

The IMutableDatabase type exposes the following members.

Properties

  Name Description
Public property ApplicationRoles Gets a collection of all application roles that are defined in the database. (Inherited from IDatabase.)
Public property ApplicationRoles Gets a collection of all application roles that are defined in the database.
Public property AsymmetricKeys Gets a collection of all asymmetric keys in the database. (Inherited from IDatabase.)
Public property AsymmetricKeys Gets a collection of all asymmetric keys in the database.
Public property Certificates Gets a collection of all certificates in the database. (Inherited from IDatabase.)
Public property Certificates Gets a collection of all certificates in the database.
Public property CollationInfo Gets the collation that is used by the database. (Inherited from IDatabase.)
Public property CompatibilityLevel Gets the collation of the database. (Inherited from IDatabase.)
Public property CompatibilityLevel Gets or sets the DatabaseCompatabilityLevel value that represents the database owner.
Public property DefaultSchemaName Gets the name of the database default schema. (Inherited from IDatabase.)
Public property DefaultSchemaName Gets or sets the name of the database default schema.
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 IUser object that represents the database owner. (Inherited from IDatabase.)
Public property Owner Gets or sets the IUser object that represents the database owner.
Public property Parent Gets the IDatabaseObject object that is the parent of this object. (Inherited from IDatabaseObject.)
Public property Roles Gets a collection of all roles that are defined in the database. (Inherited from IDatabase.)
Public property Roles Gets a collection of all roles that are defined in the database.
Public property Schemas Gets a collection of all schemas in the database. (Inherited from IDatabase.)
Public property Schemas Gets a collection of all schemas in the database.
Public property Server Gets the IServer object that owns this object. (Inherited from IServerOwnedObject.)
Public property Triggers Gets a collection of all triggers in the database. (Inherited from IDatabase.)
Public property Triggers Gets a collection of all triggers in the database.
Public property Users Gets a collection of all users in the database. (Inherited from IDatabase.)
Public property Users Gets a collection of all users in the database.

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>(IMetadataObjectVisitor<T>) Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)
Public method Accept<T>(IServerOwnedObjectVisitor<T>) Accepts a visit from the specified IServerOwnedObjectVisitor<T> object. (Inherited from IServerOwnedObject.)

Top