編輯

共用方式為


_ToOrFromRuleCondition.Enabled Property

Definition

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

public:
 property bool Enabled { bool get(); void set(bool value); };
public bool Enabled { get; set; }
Public Property Enabled As Boolean

Property Value

Remarks

After you enable a rule condition, you must also save the rule by using Save(Object) 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.

Returns an error if you attempt to enable a rule condition that is supported only on a rule of type olRuleSend for a rule of type olRuleReceive, or vice versa. For more information on support by rules for receiving messages or rules for sending messages, see Specifying Rule Conditions

Applies to