CodeAnalysisRuleSettings.TryGetRuleConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to find the RuleConfiguration that matches the specified
ruleId
.
public bool TryGetRuleConfiguration (string ruleId, out Microsoft.SqlServer.Dac.CodeAnalysis.RuleConfiguration config);
member this.TryGetRuleConfiguration : string * RuleConfiguration -> bool
Public Function TryGetRuleConfiguration (ruleId As String, ByRef config As RuleConfiguration) As Boolean
Parameters
- ruleId
- String
The fully qualified rule ID
- config
- RuleConfiguration
out RuleConfiguration, or null if none matches the ruleId
Returns
true if a configuration matching the specified ruleId
was found, false otherwise