Edit

Share via


_RuleConditions.OnOtherMachine Property

Definition

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

public:
 property Microsoft::Office::Interop::Outlook::RuleCondition ^ OnOtherMachine { Microsoft::Office::Interop::Outlook::RuleCondition ^ get(); };
public Microsoft.Office.Interop.Outlook.RuleCondition OnOtherMachine { get; }
Public ReadOnly Property OnOtherMachine As RuleCondition

Property Value

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.

Applies to