Partager via


SqlRuleProblemSuppressionContext Constructor

Definition

Initialize a new instance of SqlRuleProblemSuppressionContext

public SqlRuleProblemSuppressionContext (Microsoft.SqlServer.Dac.CodeAnalysis.RuleDescriptor rule, Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblem problem, Microsoft.SqlServer.Dac.Model.TSqlModel schemaModel);
new Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblemSuppressionContext : Microsoft.SqlServer.Dac.CodeAnalysis.RuleDescriptor * Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblem * Microsoft.SqlServer.Dac.Model.TSqlModel -> Microsoft.SqlServer.Dac.CodeAnalysis.SqlRuleProblemSuppressionContext
Public Sub New (rule As RuleDescriptor, problem As SqlRuleProblem, schemaModel As TSqlModel)

Parameters

rule
RuleDescriptor

The Rule detecting the problem

problem
SqlRuleProblem

The problem

schemaModel
TSqlModel

The Schema Model being analyzed

Applies to