Compartir a través de


Rule (RuleType)

Last modified: September 14, 2010

Applies to: Exchange Server 2007 | Exchange Server 2010

The Rule element contains a single rule and represents a rule in a user's mailbox.

<Rule>
    <RuleId>
    <DisplayName>
    <Priority>
    <IsEnabled>
    <IsNotSupported>
    <IsInError>
    <Conditions>
    <Exceptions>
    <Actions>
</Rule>

RuleType

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element

Description

RuleId

Specifies the rule identifier.

DisplayName

Contains the display name of a rule.

Priority

Indicates the order in which a rule is to be run.

IsEnabled

Indicates whether the rule is enabled.

IsNotSupported

Indicates whether the rule cannot be modified with the managed code APIs.

IsInError

Indicates whether the rule is in an error condition.

Conditions

Identifies the conditions that, when fulfilled, will trigger the rule actions for a rule.

Exceptions

Identifies the exceptions that represent all the available rule exception conditions for the inbox rule.

Actions

Represents the actions to be taken on a message when the conditions are fulfilled.

Parent Elements

Element

Description

CreateRuleOperation

Represents an operation to create a new rule.

InboxRules

Represents an array of rules in the user's mailbox.

SetRuleOperation

Represents an operation to update an existing rule.

Text Value

None.

Remarks

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services of the Client Access server.

Element Information

Namespace

https://schemas.microsoft.com/exchange/services/2006/types

Schema Name

Types schema

Validation File

Types.xsd

Can be Empty

True