Share via


SqlDeploymentOptions.TreatVerificationErrorsAsWarnings Property

Definition

Get 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; }
member this.TreatVerificationErrorsAsWarnings : bool
Public ReadOnly Property TreatVerificationErrorsAsWarnings As Boolean

Property Value

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

Applies to