Partager via


Interface IDatabase

Represents a SQL Server database. 

Espace de noms :  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly :  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Syntaxe

'Déclaration
Public Interface IDatabase _
    Inherits IServerOwnedObject, IDatabaseObject, IMetadataObject
'Utilisation
Dim instance As IDatabase
public interface IDatabase : IServerOwnedObject, 
    IDatabaseObject, IMetadataObject
public interface class IDatabase : IServerOwnedObject, 
    IDatabaseObject, IMetadataObject
type IDatabase =  
    interface
        interface IServerOwnedObject
        interface IDatabaseObject
        interface IMetadataObject
    end
public interface IDatabase extends IServerOwnedObject, IDatabaseObject, IMetadataObject

Le type IDatabase expose les membres suivants.

Propriétés

  Nom Description
Propriété publique ApplicationRoles Gets a collection of all application roles that are defined in the database.
Propriété publique AsymmetricKeys Gets a collection of all asymmetric keys in the database.
Propriété publique Certificates Gets a collection of all certificates in the database.
Propriété publique CollationInfo Gets the collation that is used by the database.
Propriété publique CompatibilityLevel Gets the collation of the database.
Propriété publique DefaultSchemaName Gets the name of the database default schema.
Propriété publique IsSystemObject Gets a value that indicates whether this is a system object. (hérité de IDatabaseObject.)
Propriété publique Name Gets the name of the metadata object. (hérité de IMetadataObject.)
Propriété publique Owner Gets the IUser object that represents the database owner.
Propriété publique Parent Gets the IDatabaseObject object that is the parent of this object. (hérité de IDatabaseObject.)
Propriété publique Roles Gets a collection of all roles that are defined in the database.
Propriété publique Schemas Gets a collection of all schemas in the database.
Propriété publique Server Gets the IServer object that owns this object. (hérité de IServerOwnedObject.)
Propriété publique Triggers Gets a collection of all triggers in the database.
Propriété publique Users Gets a collection of all users in the database.

Haut de la page