BlockWhenDriftDetected Property
Collapse the table of content
Expand the table of content

DacDeployOptions.BlockWhenDriftDetected Property

SQL Server 2014

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 RegisterDataTierApplication option enabled.

Namespace:   Microsoft.SqlServer.Dac
Assembly:  Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)

public bool BlockWhenDriftDetected { get; set; }

Property Value

Type: System.Boolean

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

Return to top

Community Additions

© 2015 Microsoft