SearchExpressionSearchExpression

SearchExpression元素是一个抽象元素,表示限制中的替换元素。The SearchExpression element is an abstract element that represents the substituted element within a restriction. 所有搜索表达式均派生自此基类型。All search expressions derive from this base type. XML 实例文档中不使用此元素。This element is not used in an XML instance document.

<SearchExpression/>

SearchExpressionTypeSearchExpressionType

属性和元素Attributes and elements

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

AttributesAttributes

无。None.

子元素Child elements

无。None.

父元素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. 如果and元素中包含的所有搜索表达式为True,则and操作的结果为trueThe result of the AND operation is true if all the search expressions contained within the And element are true.
Or
表示在其包含的搜索表达式上执行逻辑 OR 操作的搜索表达式。如果其任何子级返回 true,则 Or 将返回 trueOr 必须有两个或多个子级。 Represents a search expression that performs a logical OR operation on the search expression that it contains. Or will return true if any of its children return true. Or must have two or more children.

说明Remarks

作为 SearchExpression 替换组的一部分的任何 filter 元素都可以出现在 SearchExpression 元素的位置。Any filter element that is part of the SearchExpression substitution group can appear in place of the SearchExpression element.

备注

此元素永远不会直接出现在实例文档中。This element will never occur directly within an instance document.

以下元素是 SearchExpression 替换组的成员:The following elements are members of the SearchExpression substitution group:

描述此元素的架构位于正在运行 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