Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 (string) |
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.
Element information
| Element | Example |
|---|---|
| Namespace |
http://schemas.microsoft.com/exchange/services/2006/types |
| Schema Name |
Types schema |
| Validation File |
Types.xsd |
| Can be Empty |
True |