在针对 sharepoint list.asmx 服务运行 caml 查询时,我有一个奇怪的行为,即 GetListItems 方法也返回已删除的项目;
found item: test
found item: already done
found item: recurring
found item: recurring event 3-4
found item: Deleted: recurring event 3-4
found item: Deleted: recurring event 3-4
found item: Deleted: recurring event 3-4
found item: Deleted: recurring event 3-4
found item: Deleted: recurring event 3-4
found item: todays event 15-16 //<- NOT DELETED YET
这是怎么回事?我需要在 caml 查询上应用特殊过滤器吗?我目前查询如下;
<Query>
<OrderBy>
<FieldRef Ascending='TRUE' Name='EventDate' />
</OrderBy>
<Where>
<Eq>
<FieldRef Name='EventDate' />
<Value Type='DateTime'><Today /></Value>
</Eq>
</Where>
</Query>
到目前为止我已经尝试过什么;1. 清除回收站中的所有内容 2. 在 sharepoint 网络服务器上执行 iisreset
请注意; 我在 VMWare 工作站环境中运行。