Share via


DacDeployOptions.BlockOnPossibleDataLoss Property

Definition

Get or set boolean that specifies whether deployment should stop if the operation could cause data loss.

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

Property Value

True to stop deployment if possible data loss if detected; otherwise, false. Default is true.

Attributes

Applies to