PerformanceAdviser.SetRuleEnabled(Int32, Boolean)
Method
Description:
Retrieves an enabled/disabled status for the given rule.
Retrieves an enabled/disabled status for the given rule.
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. |