SqlDeploymentOptions.BlockWhenDriftDetected 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 the system will check for differences between the present state of the database and the registered state of the database and block deployment if changes are detected. Even if this option is set to true, drift detection will only occur on a database if it was previously deployed with the RegisterDataTierApplication option enabled.
public bool BlockWhenDriftDetected { get; }
member this.BlockWhenDriftDetected : bool
Public ReadOnly Property BlockWhenDriftDetected As Boolean
Property Value
True to error is drift is detected; otherwise, false. Default is true.