Partager via


Propriété SqlDeploymentOptions.BackupDatabaseBeforeChanges

Get or set boolean that specifies whether a database backup will be performed before proceeding with the actual deployment actions.

Espace de noms :  Microsoft.SqlServer.Dac.Deployment
Assembly :  Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)

Syntaxe

'Déclaration
Public ReadOnly Property BackupDatabaseBeforeChanges As Boolean 
    Get
'Utilisation
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

value = instance.BackupDatabaseBeforeChanges
public bool BackupDatabaseBeforeChanges { get; }
public:
property bool BackupDatabaseBeforeChanges {
    bool get ();
}
member BackupDatabaseBeforeChanges : bool
function get BackupDatabaseBeforeChanges () : boolean

Valeur de propriété

Type : System.Boolean
True to perform a database backup prior to deployment; otherwise, false. Default is false.

Voir aussi

Référence

SqlDeploymentOptions Classe

Espace de noms Microsoft.SqlServer.Dac.Deployment