CodeAnalysisRuleSettings.FindConfiguration(String) Method

Definition

Tries to find the RuleConfiguration that matches the specified ruleId. If the configuration doesn't exist then null will be returned

public Microsoft.SqlServer.Dac.CodeAnalysis.RuleConfiguration FindConfiguration (string ruleId);
member this.FindConfiguration : string -> Microsoft.SqlServer.Dac.CodeAnalysis.RuleConfiguration
Public Function FindConfiguration (ruleId As String) As RuleConfiguration

Parameters

ruleId
String

The fully qualified rule ID

Returns

RuleConfiguration, or null if none matches the ruleId

Applies to