Rule.Conditions property

Gets the conditions that when fulfilled, will trigger the rule Actions for that Rule.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public RulePredicates Conditions { get; }

Property value

Type: Microsoft.Exchange.WebServices.Data.RulePredicates
A RulePredicates with the Rule conditions.

The Conditions property represent a RulePredicates object, that correspond to each commonly used rule condition in a Rule. When an e-mail arrives, the Exchange Server computer evaluates the message and determines if it has fulfilled the Conditions of the Rule. If it does, the Exchange Server computer will then process the message according to the RuleActions. You can create a rule that enables any of the Conditions contained in the RulePredicates object.

Show: