Share via


DacDeployOptions.TreatVerificationErrorsAsWarnings Property

Definition

Get or set boolean that specifies whether to treat errors that occur during publish verification as warnings. The check is performed against the generated deployment plan before the plan is executed against the target database. Plan verification detects problems, such as the loss of target-only objects (for example, indexes), that must be dropped to make a change. Verification also detects situations where dependencies (such as tables or views) exist because of a reference to a composite project, but do not exist in the target database. You might choose to treat verification errors as warnings to get a complete list of issues instead of allowing the publish action to stop when the first error occurs.

public bool TreatVerificationErrorsAsWarnings { get; set; }
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "TreatVerificationErrorsAsWarnings")]
public bool TreatVerificationErrorsAsWarnings { get; set; }
member this.TreatVerificationErrorsAsWarnings : bool with get, set
[<Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "TreatVerificationErrorsAsWarnings")>]
member this.TreatVerificationErrorsAsWarnings : bool with get, set
Public Property TreatVerificationErrorsAsWarnings As Boolean

Property Value

True to treat errors as warnings; otherwise, false. Default is false.

Attributes

Applies to