DacDatabaseInformation 类

The DacDatabaseInformation object stores information about data-tier application (DAC) actions that can be performed on a database.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Management.Dac..::..DacDatabaseInformation

命名空间:  Microsoft.SqlServer.Management.Dac
程序集:  Microsoft.SqlServer.Management.Dac(在 Microsoft.SqlServer.Management.Dac.dll 中)

语法

声明
Public Class DacDatabaseInformation
用法
Dim instance As DacDatabaseInformation
public class DacDatabaseInformation
public ref class DacDatabaseInformation
type DacDatabaseInformation =  class end
public class DacDatabaseInformation

DacDatabaseInformation 类型公开以下成员。

构造函数

  名称 说明
公共方法 DacDatabaseInformation Initializes a new instance of the DacDatabaseInformation class.

页首

属性

  名称 说明
公共属性 DatabaseState Gets the state of the database.
公共属性 Detachable Reports whether the database can be detached.
公共属性 Droppable Gets a Boolean value that specifies whether the database can be dropped.
公共属性 Extractable Gets a Boolean value that specifies whether a DAC package can be extracted from the database.
公共属性 Upgradeable Gets a Boolean value that specifies whether the DAC instance associated with the database can be upgraded.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

By using the DacDatabaseInformation object, you can determine whether the database can be detached, dropped, extracted, or upgraded.

Thread Safety

此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。不保证所有实例成员都是线程安全的。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。