Share via


SqlDeploymentOptions.BlockWhenDriftDetected Property

Definition

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.

Applies to