Partager 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

'Déclaration
Public ReadOnly Property DatabaseState As DatabaseState
    Get
'Utilisation
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.

See Also

Reference

DacDatabaseInformation Class

Microsoft.SqlServer.Management.Dac Namespace