RuleRule

Rule元素包含一个保护规则。The Rule element contains a single protection rule.

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

ProtectionRuleTypeProtectionRuleType

属性和元素Attributes and elements

下面各部分介绍了属性、子元素和父元素。The following sections describe attributes, child elements, and parent elements.

AttributesAttributes

属性Attribute 说明Description
名称Name
标识规则的名称。Identifies the name of the rule. 一个必需的 string 类型的属性,最小长度为1。A required attribute of type string with a minimum length of 1.
UserOverridableUserOverridable
指定规则是否是必需的。Specifies whether the rule is mandatory. 如果规则是必需的,则此属性值必须为falseIf the rule is mandatory, this attribute value must be false. 一个 Boolean 类型的必需属性。A required attribute of type Boolean.
PriorityPriority
指定规则优先级。Specifies the rule priority. 类型为 int 且最小值为1的必需属性。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)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

描述此元素的架构位于承载 Exchange Web Services 的 IIS 虚拟目录中。The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

元素信息Element information

命名空间Namespace
https://schemas.microsoft.com/exchange/services/2006/types
架构名称Schema Name
类型架构Types schema
验证文件Validation File
Types.xsdTypes.xsd
可以为空Can be Empty
FalseFalse

另请参阅See also