This topic has not yet been rated - Rate this topic

ExchangeService.UpdateInboxRules method (IEnumerable<RuleOperation>, Boolean)

EWS Managed API

Updates a specified user's Inbox rules by applying the specified operations.

Namespace:  Microsoft.Exchange.WebServices.Data
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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.