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.

页首