次の方法で共有


_RuleConditions.OnOtherMachine Property

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

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property OnOtherMachine As RuleCondition
    Get
'Usage
Dim instance As _RuleConditions
Dim value As RuleCondition

value = instance.OnOtherMachine
[DispIdAttribute()]
RuleCondition OnOtherMachine { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.RuleCondition

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

Reference

_RuleConditions Interface

_RuleConditions Members

Microsoft.Office.Interop.Outlook Namespace