DeployedDac.DatabaseState Property
Gets the state of the database that was deployed from the DAC package.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property DatabaseState As DatabaseState
Get
'Usage
Dim instance As DeployedDac
Dim value As DatabaseState
value = instance.DatabaseState
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public DatabaseState DatabaseState { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property DatabaseState DatabaseState {
DatabaseState get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member DatabaseState : DatabaseState
function get DatabaseState () : DatabaseState
Property Value
Type: Microsoft.SqlServer.Management.Utility.DatabaseState
A DatabaseState object that represents the state of the database that was deployed from the DAC package.