CodeAnalysisServiceSettings.ShouldSuppressProblem 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
可选谓词,可用于抑制分析期间规则引发的问题。 有关详细信息,请参阅 SetProblemSuppressor(Predicate<SqlRuleProblemSuppressionContext>)。
此属性使用 SetProblemSuppressor(Predicate<SqlRuleProblemSuppressionContext>).
public Predicate<Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblemSuppressionContext> ShouldSuppressProblem { get; set; }
member this.ShouldSuppressProblem : Predicate<Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblemSuppressionContext> with get, set
Public Property ShouldSuppressProblem As Predicate(Of SqlRuleProblemSuppressionContext)