SqlDeploymentOptions.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 boolean that specifies whether deployment should stop if the operation could cause data loss.
public bool BlockOnPossibleDataLoss { get; }
member this.BlockOnPossibleDataLoss : bool
Public ReadOnly Property BlockOnPossibleDataLoss As Boolean
Property Value
True to stop deployment if possible data loss if detected; otherwise, false. Default is true.