DacDatabaseInformation Class
The DacDatabaseInformation object stores information about data-tier application (DAC) actions that can be performed on a database.
Inheritance Hierarchy
Object
Microsoft.SqlServer.Management.Dac.DacDatabaseInformation
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Declaração
Public Class DacDatabaseInformation
'Uso
Dim instance As DacDatabaseInformation
public class DacDatabaseInformation
public ref class DacDatabaseInformation
type DacDatabaseInformation = class end
public class DacDatabaseInformation
The DacDatabaseInformation type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DacDatabaseInformation | Initializes a new instance of the DacDatabaseInformation class. |
Top
Properties
Name | Description | |
---|---|---|
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. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
By using the DacDatabaseInformation object, you can determine whether the database can be detached, dropped, extracted, or upgraded.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.