PublishDacpacSettings.

BlockWhenDriftDetected Property

Summary

Get or set 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 Microsoft.SqlServer.Dac.DacDeployOptions.RegisterDataTierApplication option enabled.
Assembly
Cake.SqlServer.dll
Namespace
Cake.SqlServer
Containing Type
PublishDacpacSettings

Syntax

public bool BlockWhenDriftDetected { get; set; }

Value

Type Description
bool True to error is drift is detected; otherwise, false. Default is true.