Share via


DacDatabaseInformation.DatabaseState Property

Gets the state of the database.

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

Syntax

'Declaration
Public ReadOnly Property DatabaseState As DatabaseState
    Get
'Usage
Dim instance As DacDatabaseInformation
Dim value As DatabaseState

value = instance.DatabaseState
public DatabaseState DatabaseState { get; }
public:
property DatabaseState DatabaseState {
    DatabaseState get ();
}
member DatabaseState : DatabaseState
function get DatabaseState () : DatabaseState

Property Value

Type: Microsoft.SqlServer.Management.Dac.DatabaseState
A DatabaseState object value that specifies the state of the database.