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 继承。) |
页首