Condition
The Condition element identifies the condition that must be satisfied for the action part of the rule to be executed.
XML
<Condition>
<AllInternal/>
</Condition>
XML
<Condition>
<SenderDepartments/>
</Condition>
XML
<Condition>
<True/>
</Condition>
XML
<Condition>
<Recipients/>
</Condition>
XML
<Condition>
<And/>
</Condition>
ProtectionRuleConditionType
The following sections describe attributes, child elements, and parent elements.
None.
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. |
Element | Description |
---|---|
Rule |
Contains a single protection rule. |
None.
The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.
Element | Example |
---|---|
Namespace |
http://schemas.microsoft.com/exchange/services/2006/types |
Schema Name |
Types schema |
Validation File |
Types.xsd |
Can be Empty |
False |