每日和每周复发模式的麻烦! [英] Daily and Weekly recurrence pattern trouble!
问题描述
大家好,
我发现了以下奇特的行为:当我从Outlook创建新的定期约会并将重复模式设置为"每天 - 每个工作日"时或者"每周 - 周一,周二,周三,周四,周五",我从EWS获得了相同的重复模式,即 < span style ="color:#2b91af; font-size:x-small"> WeeklyRecurrencePatternType和 NOT Daily RecurrencePatternType 跨度> 跨度> 跨度> 跨度>。所以实际上我无法区分这两种类型的模式。我怎么能用EWS做到这一点???我知道它是一样的,但我应该知道用户选择了什么:每日工作日模式或周一,周二,周三,周四,周五每周。
P.S。我使用EWS,Exchange 2007 SP2,MS Outlook 2007 SP1
提前致谢
为"每个工作日"定义重复发生模式的唯一方法。在EWS中是使用WeeklyRecurrencePatternType。 DailyPatternType只能用于定义每次出现在前一次出现后N天的重现。
换句话说,没有办法在EWS中区分这两种情况。
Hi All,
I have found following fancy behaviour: when I create new recurring appointment from Outlook and set recurrence pattern as "Daily - every weekday" OR "Weekly - Monday, Tuesday, Wednesday, Thursday, Friday", I've got the same recurrence pattern from EWS which is WeeklyRecurrencePatternType and NOT DailyRecurrencePatternType. So actually I can't distinguish between this two types of patterns. How can I do this with EWS??? I understand that it is the same, but I should know what exactly user had chosen: Daily with every weekday pattern or Weekly with Monday, Tuesday, Wednesday, Thursday, Friday.
P.S. I use EWS, Exchange 2007 SP2, MS Outlook 2007 SP1
Thanks in advance
The only way to define a recurrence pattern for "Every weekday" in EWS is to use WeeklyRecurrencePatternType. DailyPatternType can only be used to define a recurrence where each occurrence happens N day after the previous one.
In other words, there is no way to distinguish the two in EWS.
这篇关于每日和每周复发模式的麻烦!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!