SuppressedProblemInfo(String, RuleConfiguration) Constructor

Definition

Creates a SuppressedProblemInfo for a given source name and rule

public SuppressedProblemInfo (string sourceName, Microsoft.SqlServer.Dac.CodeAnalysis.RuleConfiguration rule);
new Microsoft.SqlServer.Dac.CodeAnalysis.SuppressedProblemInfo : string * Microsoft.SqlServer.Dac.CodeAnalysis.RuleConfiguration -> Microsoft.SqlServer.Dac.CodeAnalysis.SuppressedProblemInfo
Public Sub New (sourceName As String, rule As RuleConfiguration)

Parameters

sourceName
String

Name of the source to be suppressed. This is commonly the path to a file on disk.

rule
RuleConfiguration

Information about the rule whose problems should be suppressed

Applies to