不包括Excludes

排除元素执行指定属性的按位掩码和提供的值。The Excludes element performs a bitwise mask of the specified property and a supplied value.

<Excludes>
   <FieldURI/>
   <Bitmask/>
</Excludes>
<Excludes>
   <ExtendedFieldURI/> 
   <Bitmask/>
</Excludes>
<Excludes>
   <IndexedFieldURI/> 
   <Bitmask/>
</Excludes>

ExcludesTypeExcludesType

属性和元素Attributes and elements

下面各部分介绍了属性、子元素和父元素。The following sections describe attributes, child elements, and parent elements.

AttributesAttributes

无。None.

子元素Child elements

元素Element 说明Description
FieldURIFieldURI
标识由 URI 频繁引用的属性。Identifies frequently referenced properties by URI.
IndexedFieldURIIndexedFieldURI
标识词典中的各个成员。Identifies individual members of a dictionary.
ExtendedFieldURIExtendedFieldURI
标识 MAPI 属性。Identifies MAPI properties.
位掩码Bitmask
表示在不包括的限制操作期间要使用的十六进制或小数掩码。Represents a hexadecimal or decimal mask to be used during an Excludes restriction operation. 如果位掩码代表十六进制数,则它的前缀必须为0x 或0X。If the bitmask represents a hexadecimal number, it must be prefixed by 0x or 0X. 否则,它将被视为十进制数。Otherwise, it will be considered a decimal number.

父元素Parent elements

元素Element 说明Description
限制Restriction
表示用于在 FindItem/FindFolder 中筛选项目或文件夹和搜索文件夹操作的限制或查询。Represents the restriction or query that is used to filter items or folders in FindItem/FindFolder and search folder operations.
notNot
表示对其包含的搜索表达式的布尔值求反的搜索表达式。Represents a search expression that negates the Boolean value of the search expression that it contains.
AndAnd
表示允许您在两个或多个搜索表达式之间执行布尔 And 运算的搜索表达式。Represents a search expression that allows you to perform a Boolean And operation between two or more search expressions. 如果和中包含的所有搜索表达式均为 true,则 and 操作的结果为trueThe result of the And operation is true if all of the search expressions contained within the And are true.
Or
表示在其包含的搜索表达式上执行逻辑 OR 的搜索表达式。Represents a search expression that performs a logical OR on the search expression it contains. 如果其任何子级返回true,则元素将返回trueThe Or element will return true if any of its children return true.

备注Remarks

如果对以下项执行的 AND 操作解析为0,则排除将解析为trueExcludes will resolve to true if an AND operation performed on the following resolves to 0:

  1. 属性的按位值The bitwise value for the property

  2. 属性的位掩码值The bitmask value for the property

"排除" 仅可应用于具有整数值的属性。Excludes can only be applied to a property that has an integer value. 如果属性类型不是整数,则会在响应中返回ErrorUnsupportedPathForQuery的错误代码。If the property type is anything other than an integer, an error code of ErrorUnsupportedPathForQuery is returned in the response.

您可以通过不调用(不包括)执行反向操作。You can perform the reverse operation by calling Not(Excludes).

描述此元素的架构位于正在运行 Microsoft Exchange Server 2007 的计算机(已安装客户端访问服务器角色)的 EWS 虚拟目录中。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.

元素信息Element information

命名空间Namespace
https://schemas.microsoft.com/exchange/services/2006/types
架构名称Schema Name
类型架构Types schema
验证文件Validation File
Types.xsdTypes.xsd
可以为空Can be Empty
FalseFalse

另请参阅See also