編輯

共用方式為


Rule

The Rule element contains a single protection rule.

<Rule Name="" UserOverridable=="" Priority="">
   <Condition/>
   <Action/>
</Rule>

ProtectionRuleType

Attributes and elements

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

Attributes

Attribute Description
Name
Identifies the name of the rule. A required attribute of type string with a minimum length of 1.
UserOverridable
Specifies whether the rule is mandatory. If the rule is mandatory, this attribute value must be false. A required attribute of type Boolean.
Priority
Specifies the rule priority. A required attribute of type int with a minimum value of 1.

Child elements

Element Description
Condition
Identifies the condition that must be satisfied for the action part of the rule to be executed.
Action (ProtectionRuleActionType)
Identifies what action must be executed if the condition part of the rule matches.

Parent elements

Element Description
Rules
Contains an array of protection rules.

Text value

None.

Remarks

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

Element information

Name Value
Namespace
http://schemas.microsoft.com/exchange/services/2006/types
Schema Name
Types schema
Validation File
Types.xsd
Can be Empty
False

See also