Интерфейс IDatabase

Represents a SQL Server database. 

Пространство имен:  Microsoft.SqlServer.Management.SqlParser.Metadata
Сборка:  Microsoft.SqlServer.Management.SqlParser (в Microsoft.SqlServer.Management.SqlParser.dll)

Синтаксис

'Декларация
Public Interface IDatabase _
    Inherits IServerOwnedObject, IDatabaseObject, IMetadataObject
'Применение
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

Тип IDatabase обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство ApplicationRoles Gets a collection of all application roles that are defined in the database.
Открытое свойство AsymmetricKeys Gets a collection of all asymmetric keys in the database.
Открытое свойство Certificates Gets a collection of all certificates in the database.
Открытое свойство CollationInfo Gets the collation that is used by the database.
Открытое свойство CompatibilityLevel Gets the collation of the database.
Открытое свойство DefaultSchemaName Gets the name of the database default schema.
Открытое свойство IsSystemObject Gets a value that indicates whether this is a system object. (Производный от IDatabaseObject.)
Открытое свойство Name Gets the name of the metadata object. (Производный от IMetadataObject.)
Открытое свойство Owner Gets the IUser object that represents the database owner.
Открытое свойство Parent Gets the IDatabaseObject object that is the parent of this object. (Производный от IDatabaseObject.)
Открытое свойство Roles Gets a collection of all roles that are defined in the database.
Открытое свойство Schemas Gets a collection of all schemas in the database.
Открытое свойство Server Gets the IServer object that owns this object. (Производный от IServerOwnedObject.)
Открытое свойство Triggers Gets a collection of all triggers in the database.
Открытое свойство Users Gets a collection of all users in the database.

В начало

Методы

  Имя Описание
Открытый метод Accept< (Of < <' (T> ) > > )(IDatabaseObjectVisitor< (Of < <' (T> ) > > )) Accepts a visit from the specified IDatabaseObjectVisitor<(Of <(<'T>)>)> object. (Производный от IDatabaseObject.)
Открытый метод Accept< (Of < <' (T> ) > > )(IMetadataObjectVisitor< (Of < <' (T> ) > > )) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (Производный от IMetadataObject.)
Открытый метод Accept< (Of < <' (T> ) > > )(IServerOwnedObjectVisitor< (Of < <' (T> ) > > )) Accepts a visit from the specified IServerOwnedObjectVisitor<(Of <(<'T>)>)> object. (Производный от IServerOwnedObject.)

В начало