Share via


DacDeployOptions.BackupDatabaseBeforeChanges Property

Definition

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

public bool BackupDatabaseBeforeChanges { get; set; }
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "BackupDatabaseBeforeChanges")]
public bool BackupDatabaseBeforeChanges { get; set; }
member this.BackupDatabaseBeforeChanges : bool with get, set
[<Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "BackupDatabaseBeforeChanges")>]
member this.BackupDatabaseBeforeChanges : bool with get, set
Public Property BackupDatabaseBeforeChanges As Boolean

Property Value

True to perform a database backup prior to deployment; otherwise, false. Default is false.

Attributes

Applies to