Rule.Conditions Property

Definition

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

public:
 property Microsoft::Exchange::WebServices::Data::RulePredicates ^ Conditions { Microsoft::Exchange::WebServices::Data::RulePredicates ^ get(); };
public Microsoft.Exchange.WebServices.Data.RulePredicates Conditions { get; }
Public ReadOnly Property Conditions As RulePredicates

Property Value

A RulePredicates with the Rule conditions.

Remarks

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.

Applies to