FieldURIOrConstant
Last modified: October 13, 2012
Applies to: Exchange Online | Exchange Server 2007 | Exchange Server 2010 | Exchange Server 2013 | Office 365
The FieldURIOrConstant element represents either a property or a constant value to be used when comparing with another property.
<FieldURIOrConstant> <Constant/> </FieldURIOrConstant>
<FieldURIOrConstant> <FieldURI/> </FieldURIOrConstant>
<FieldURIOrConstant> <IndexedFieldURI/> </FieldURIOrConstant>
<FieldURIOrConstant> <ExtendedFieldURI/> </FieldURIOrConstant>
FieldURIOrConstantType
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child elements
|
Element |
Description |
|---|---|
|
Identifies a constant value in a restriction. |
|
|
Identifies frequently referenced properties by URI. |
|
|
Identifies individual members of a dictionary. |
|
|
Identifies MAPI properties. |
Parent elements
|
Element |
Description |
|---|---|
|
Represents a search expression that compares a property with either a constant value or another property and evaluates to true if they are equal. |
|
|
Represents a search expression that compares a property with either a constant value or another property and returns true if the first property is greater. |
|
|
Represents a search expression that compares a property with either a constant value or another property and returns true if the first property is greater than or equal to the second value or property. |
|
|
Represents a search expression that compares a property with either a constant value or another property and returns true if the first property is less than the second value or property. |
|
|
Represents a search expression that compares a property with either a constant value or another property and returns true if the first property is less than or equal to the second value or property. |
|
|
Represents a search expression that compares a property with either a constant value or another property and returns true if the values are not the same. |
The following XML example shows the FieldURIOrConstant element used with both a constant and field URI.
[xml]
<Restriction>
<Or xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
<IsEqualTo>
<FieldURI FieldURI="item:DateTimeCreated"/>
<FieldURIOrConstant>
<FieldURI FieldURI="item:DateTimeReceived"/>
</FieldURIOrConstant>
</IsEqualTo>
<IsEqualTo>
<FieldURI FieldURI="item:Subject"/>
<FieldURIOrConstant>
<Constant Value="Here is a test message"/>
</FieldURIOrConstant>
</IsEqualTo>
</Or>
</Restriction>