共用方式為


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.

上層