Partilhar via


Interface IDatabase

Represents a SQL Server database. 

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

Sintaxe

'Declaração
Public Interface IDatabase _
    Inherits IServerOwnedObject, IDatabaseObject, IMetadataObject
'Uso
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

O tipo IDatabase expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública ApplicationRoles Gets a collection of all application roles that are defined in the database.
Propriedade pública AsymmetricKeys Gets a collection of all asymmetric keys in the database.
Propriedade pública Certificates Gets a collection of all certificates in the database.
Propriedade pública CollationInfo Gets the collation that is used by the database.
Propriedade pública CompatibilityLevel Gets the collation of the database.
Propriedade pública DefaultSchemaName Gets the name of the database default schema.
Propriedade pública IsSystemObject Gets a value that indicates whether this is a system object. (Herdado de IDatabaseObject.)
Propriedade pública Name Gets the name of the metadata object. (Herdado de IMetadataObject.)
Propriedade pública Owner Gets the IUser object that represents the database owner.
Propriedade pública Parent Gets the IDatabaseObject object that is the parent of this object. (Herdado de IDatabaseObject.)
Propriedade pública Roles Gets a collection of all roles that are defined in the database.
Propriedade pública Schemas Gets a collection of all schemas in the database.
Propriedade pública Server Gets the IServer object that owns this object. (Herdado de IServerOwnedObject.)
Propriedade pública Triggers Gets a collection of all triggers in the database.
Propriedade pública Users Gets a collection of all users in the database.

Início