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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。