ProjectProblemSuppressor.AddSuppressedProblems Method

Definition

Adds one or more instances of SuppressedProblemInfo to the set of suppressed problems. The full set of suppressed problems will be immediately written out to the backing XML file.

public void AddSuppressedProblems (System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.CodeAnalysis.SuppressedProblemInfo> suppressedProblems);
member this.AddSuppressedProblems : seq<Microsoft.SqlServer.Dac.CodeAnalysis.SuppressedProblemInfo> -> unit
Public Sub AddSuppressedProblems (suppressedProblems As IEnumerable(Of SuppressedProblemInfo))

Parameters

suppressedProblems
IEnumerable<SuppressedProblemInfo>

An IEnumerable of SuppressedProblemInfo objects defining each combination of a file for which some problems should be suppressed, and the specific rule whose problems should be suppressed.

Applies to