CodeAnalysisService.SetProblemSuppressor 메서드

정의

규칙을 표시하지 않을 때 적용할 문제 억제 조건자를 설정합니다. 이는 규칙에 의해 발생한 문제 무시를 지원하는 선택적 기능입니다. 문제가 발생한 요소 또는 문제가 발견된 원본에 따라 문제가 표시되지 않을 수 있습니다.

public void SetProblemSuppressor(Predicate<Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblemSuppressionContext> shouldSuppressProblem);
member this.SetProblemSuppressor : Predicate<Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblemSuppressionContext> -> unit
Public Sub SetProblemSuppressor (shouldSuppressProblem As Predicate(Of SqlRuleProblemSuppressionContext))

매개 변수

shouldSuppressProblem
Predicate<SqlRuleProblemSuppressionContext>

억제 컨텍스트를 검사하고 문제를 억제해야 하는지 여부를 결정해야 하는 조건자

적용 대상