共用方式為


CodeAnalysisRuleSettings.ApplySettingsToRules Method

Definition

Applies these settings to another set of rules.

public void ApplySettingsToRules (System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.CodeAnalysis.RuleConfiguration> rules);
member this.ApplySettingsToRules : seq<Microsoft.SqlServer.Dac.CodeAnalysis.RuleConfiguration> -> unit
Public Sub ApplySettingsToRules (rules As IEnumerable(Of RuleConfiguration))

Parameters

rules
IEnumerable<RuleConfiguration>

The rules the settings should be applied to

Applies to