EWS:同步状态cookie的生命周期 [英] EWS : Lifetime of Synchronization State cookie

查看:102
本文介绍了EWS:同步状态cookie的生命周期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SyncFolderItems操作来同步我的日历文件夹.

I am using the SyncFolderItems operation to synchronize my calendar folder.

由SyncFolderItems调用返回的同步状态cookie的生存期是多少?

What is the lifetime of the Synchronization State cookie returned by the SyncFolderItems call?

如果我在SyncFolderItems调用中使用了40天的SyncState字符串(从先前的调用保存在数据库中),我是否会取回40天的数据?还是该同步状态已过期?

If I use a 40-day old SyncState string (saved in the DB from an earlier call) in the SyncFolderItems Call, will I get back the 40 days worth of data? Or will that Sync State have expired?

此外,SyncState字符串在不同版本的Exchange服务器之间是否有效? (2007年和2010年)?

Also, is SyncState string valid between different versions of Exchange server? (2007 and 2010) ?

推荐答案

Andy-

一个40天的旧SyncState字符串应该可以工作,并且您应该取回40天的数据.

A 40-day old SyncState string should work, and you should get back the 40 days worth of data.

对于SyncState字符串在不同版本之间有效,是的,它应该向上兼容.该字符串带有版本标记,可以在首次针对新服务器版本使用时进行升级,但应该可以继续正常运行.唯一的警告是,一旦用于新服务器并且同步状态已升级,更新后的同步状态就不能用于旧版本.

As for the SyncState string being valid between different versions, yes, it should be upwardly compatible. The string is marked with a version stamp and may be upgraded the first time it’s used against a new server version but should continue to work fine. The only caveat is that once used against a new server and the sync state has been upgraded, the updated sync state cannot be used against the old version.

-咪咪

这篇关于EWS:同步状态cookie的生命周期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆