FieldURIOrConstant
Last modified: March 16, 2009
Applies to: Exchange Server 2007 | Exchange Server 2010
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
Attributes and Elements
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. |
Remarks
The schema that describes this element is located in the EWS virtual directory of the computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.
Example
The following XML example shows the FieldURIOrConstant element used with both a constant and field URI.
[xml]
<Restriction>
<Or xmlns="https://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>
Element Information
Namespace |
https://schemas.microsoft.com/exchange/services/2006/types |
Schema Name |
Types schema |
Validation File |
Types.xsd |
Can be Empty |
False |