編輯

共用方式為


Condition

The Condition element identifies the condition that must be satisfied for the action part of the rule to be executed.

<Condition>
   <AllInternal/>
</Condition>
<Condition> 
    <SenderDepartments/> 
</Condition>
<Condition> 
    <True/> 
</Condition>
<Condition> 
    <Recipients/> 
</Condition>
<Condition> 
    <And/> 
</Condition>

ProtectionRuleConditionType

Attributes and elements

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

Attributes

None.

Child elements

Element Description
AllInternal
Evaluates to true if all recipients of an e-mail message are internal to the sender's organization.
And (ProtectionRuleAndType)
Specifies that all child elements must match to evaluate to true. Specifies that there must be more than one protection rule child condition.
RecipientIs
Specifies that any recipient of the e-mail message matches any of the specified recipients in the child Value (ProtectionRuleValueType) elements.
SenderDepartments
Specifies that the department of the sender matches any of the specified departments in the child Value (ProtectionRuleValueType) elements.
True
Specifies a condition that always matches.

Parent elements

Element Description
Rule
Contains a single protection 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
False

See also