DacDeployOptions.BlockOnPossibleDataLoss Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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