And (ProtectionRuleAndType)

The And element specifies that all child elements must match to evaluate to true.

<And>
   <AllInternal/>
   <And/>
   <RecipientIs/>
   <SenderDepartments/>
   <True/>
</And>

ProtectionRuleAndType

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
Specifies that all child elements must match to evaluate to true.
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
Condition
Identifies the condition that must be satisfied for the action part of the rule to be executed.
And
Specifies that all child elements must match to evaluate to true.

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