RuleConditions.OnOtherMachine property (Outlook)

Returns a RuleCondition object with a RuleCondition.ConditionType of olConditionOtherMachine. Read-only.

Syntax

expression. OnOtherMachine

expression A variable that represents a RuleConditions object.

Remarks

Use the returned RuleCondition object when enumerating the rule conditions or exception conditions of an existing rule. This rule condition indicates that the rule can run only on some machine other than the local machine.

This property of the RuleConditions collection always returns a RuleCondition object regardless of whether the rule associated with this RuleConditions collection has defined such a rule condition.

You cannot programmatically enable or disable a condition of type olConditionOtherMachine. This type of rule condition indicates that the rule can run only on a specific computer that is not the current one. This happens when the rule is created on that computer and the rule condition olConditionLocalMachineOnly is enabled, indicating that the rule can run only on that computer. When you run the same rule on another computer, the rule will show that the condition olConditionOtherMachine is enabled.

See also

RuleConditions Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.