Condition

Last modified: February 04, 2010

Applies to: Exchange Server 2007 | Exchange Server 2010

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

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 of the Client Access server.

Element Information

Namespace

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

Schema Name

Types schema

Validation File

Types.xsd

Can be Empty

False

See Also

Other Resources