Sdílet prostřednictvím


FieldURIOrConstant

Topic Last Modified: 2007-02-26

The FieldURIOrConstant element represents either a property or a constant value to be used when comparing with another property.

Syntax

<FieldURIOrConstant>
   <Constant/>
</FieldURIOrConstant>

<FieldURIOrConstant>
   <FieldURI/>
</FieldURIOrConstant>

<FieldURIOrConstant>
   <IndexedFieldURI/>
</FieldURIOrConstant>

<FieldURIOrConstant>
   <ExtendedFieldURI/>
</FieldURIOrConstant>

Type

FieldURIOrConstantType

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element Description

Constant

Identifies a constant value in a restriction.

FieldURI

Identifies frequently referenced properties by URI.

IndexedFieldURI

Identifies individual members of a dictionary.

ExtendedFieldURI

Identifies MAPI properties.

Parent Elements

Element Description

IsEqualTo

Represents a search expression that compares a property with either a constant value or another property and evaluates to true if they are equal.

IsGreaterThan

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.

IsGreaterThanOrEqualTo

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.

IsLessThan

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.

IsLessThanOrEqualTo

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.

IsNotEqualTo

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

See Also

Other Resources

Exchange Web Services XML Elements