Partager via


Propriété DeployedDac.DatabaseState

Gets the state of the database that was deployed from the DAC package.

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property DatabaseState As DatabaseState 
    Get
'Utilisation
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

Valeur de propriété

Type : Microsoft.SqlServer.Management.Utility.DatabaseState
A DatabaseState object that represents the state of the database that was deployed from the DAC package.

Voir aussi

Référence

DeployedDac Classe

Espace de noms Microsoft.SqlServer.Management.Utility