_MoveOrCopyRuleAction.Enabled Property
Returns or sets a Boolean (bool in C#) that determines if the rule action is enabled. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Property Enabled As Boolean
Get
Set
'Usage
Dim instance As _MoveOrCopyRuleAction
Dim value As Boolean
value = instance.Enabled
instance.Enabled = value
[DispIdAttribute()]
bool Enabled { get; set; }
Property Value
Type: System.Boolean
Remarks
After you enable a rule, you must also save the rule by using _Rules.Save so that the rule and its enabled state will persist beyond the current session. A rule is only enabled after it has been saved successfully.