_AddressRuleCondition.Enabled property

Returns or sets a Boolean (bool in C#) that determines if the rule condition is enabled. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

bool Enabled { get; set; }

Property value

Type: System.Boolean

After you enable a rule condition, you must also save the rule by using _Rules.Save so that the rule condition and its enabled state will persist beyond the current session. A rule condition is only enabled after it have been saved successfully.