Export (0) Print
Expand All

DacDatabaseInformation Class

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

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

public class DacDatabaseInformation

The DacDatabaseInformation type exposes the following members.

  NameDescription
Public methodDacDatabaseInformationInitializes a new instance of the DacDatabaseInformation class.
Top

  NameDescription
Public propertyDatabaseStateGets the state of the database.
Public propertyDetachableReports whether the database can be detached.
Public propertyDroppableGets a Boolean value that specifies whether the database can be dropped.
Public propertyExtractableGets a Boolean value that specifies whether a DAC package can be extracted from the database.
Public propertyUpgradeableGets a Boolean value that specifies whether the DAC instance associated with the database can be upgraded.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft