CodeAnalysisRuleSettings::DisableRule Method (String^)

SQL Server 2014
 

Updated: April 20, 2017

Excludes a rule from execution.

Namespace:   Microsoft.SqlServer.Dac.CodeAnalysis
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

public:
void DisableRule(
	String^ ruleId
)

Parameters

ruleId
Type: System::String^

The fully qualified Id for the rule.

Exception Condition
ArgumentException

If the ruleId is null or whitespace.

Return to top

Community Additions

ADD
Show: