IExchangeFolderRules::HrDisable

The HrDisable method disables the current rule on the folder.

HRESULT HrDisable(
  VOID  
);
 

Parameters

None.

Return Values

See Return Values.

In addition, HrDisable returns E_FAIL if one of the following conditions occurs:

An attempt was made to disable a rule when the cursor is at the end of the rules table (no current member).
The current cursor position, as returned by the HrTell method, is RULE_PAST_END.

Remarks

You can enable the rule with the HrEnable method. If you want to delete the rule, use the HrDelete method.

For more information, see RULEEDIT: Manipulating Rules.

See Also

IExchangeFolderRules