Share via


DacDatabaseInformation Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Class DacDatabaseInformation
'Usage
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
Public method DacDatabaseInformation Initializes a new instance of the DacDatabaseInformation class.

Top

Properties

  Name Description
Public property DatabaseState Gets the state of the database.
Public property Detachable Reports whether the database can be detached.
Public property Droppable Gets a Boolean value that specifies whether the database can be dropped.
Public property Extractable Gets a Boolean value that specifies whether a DAC package can be extracted from the database.
Public property Upgradeable Gets a Boolean value that specifies whether the DAC instance associated with the database can be upgraded.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.