Rule.IsEnabled property

Gets or sets whether the Rule is enabled.

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

public bool IsEnabled { get; set; }

Property value

Type: System.Boolean
true if the Rule is enabled; otherwise, false. The default value is true

The IsEnabled property specifies whether a Rule is enabled.. If the rule is not enabled it will be ignored when an incoming message's Conditions are fulfilled and no Actions will be taken.