Share via


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<T>(IDatabaseObjectVisitor<T>) Accepts a visit from the specified IDatabaseObjectVisitor<T> object. (IDatabaseObject에서 상속됨)
공용 메서드 Accept<T>(IMetadataObjectVisitor<T>) Accepts a visit from the specified IMetadataObjectVisitor<T> object. (IMetadataObject에서 상속됨)
공용 메서드 Accept<T>(IServerOwnedObjectVisitor<T>) Accepts a visit from the specified IServerOwnedObjectVisitor<T> object. (IServerOwnedObject에서 상속됨)

맨 위로 이동

참고 항목

참조

Microsoft.SqlServer.Management.SqlParser.Metadata 네임스페이스