RVTDocs.com

PerformanceAdviser.SetRuleEnabled(Int32, Boolean)

Method
Description:
Retrieves an enabled/disabled status for the given rule.
Syntax
public void SetRuleEnabled(
	int index,
	bool enabled
)
Parameters
Parameter Type Description
index Int32 The rule index to set enabled/disabled status for.
enabled Boolean True enables the rule, false disables.
Return Value
Exceptions
Exception Condition
ArgumentException The index is outside of acceptable range.