EWS:同步状态cookie的生命周期 [英] EWS : Lifetime of Synchronization State 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屋!