Export (0) Print
Expand All
And
App
Day
End
ID
Ids
Not
Or
SID
To
TTL
UID
Url
Expand Minimize

Condition

Last modified: October 13, 2012

Applies to: Exchange Online | Exchange Server 2010 | Exchange Server 2013 | Office 365

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

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

ProtectionRuleConditionType

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.

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

Namespace

http://schemas.microsoft.com/exchange/services/2006/types

Schema Name

Types schema

Validation File

Types.xsd

Can be Empty

False

Show:
© 2014 Microsoft