ExchangeService.UpdateInboxRules method (IEnumerable<RuleOperation>, Boolean)
EWS Managed API
Updates a specified user's Inbox rules by applying the specified operations.
Assembly: Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)
public void UpdateInboxRules( IEnumerable<RuleOperation> operations, bool removeOutlookRuleBlob )
Parameters
- operations
- Type: System.Collections.Generic.IEnumerable<RuleOperation>
The operations that are to be applied to the specified user's Inbox rules.
- removeOutlookRuleBlob
- Type: System.Boolean
true to remove the Outlook rule blob ; otherwise, false.
Calling this method results in a call to Exchange Web Service (EWS).
You can use the OutlookRuleBlobExists property to determine whether to prompt the user before calling this method.