如何在交换Web服务中检索未经检查的默认提醒值 [英] How to retrieve unchecked default remind value in exchange web service

查看:36
本文介绍了如何在交换Web服务中检索未经检查的默认提醒值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以从用户配置字典属性('piRemindDefault')获取默认的提醒分钟值。如果取消选中outlook calendar选项中的Default reminder复选框,如何从EWS获取值。谢谢。

I can get the default remind minutes value from user configuration dictionary property ('piRemindDefault'). How do I get the value from EWS if I uncheck the Default reminder checkbox in outlook calendar option. Thanks.

即使我取消选中日历选项中的"默认提醒:"复选框,"piRemindDefault"属性也始终返回值。

The 'piRemindDefault' properity always return value even I unchecked the 'Default Reminders:' checkbox in calendar option.

推荐答案

piRemindDefault只是默认提醒期(默认为15分钟),因此即使取消提醒也不会更改值。您查看Calendar Config对象以获取提醒选项,您需要查看邮箱根目录中的OWA.UserOptions
配置对象,例如

The piRemindDefault is just the default reminder period (which is 15 minutes by default) so even when you untick reminders its not going to change the value. You looking at the Calendar Config object to get the reminders option you need to look at the OWA.UserOptions config object in the root of Mailbox eg

            FolderId RootFolderi = new FolderId(WellKnownFolderName.Root, "user@domain.com");
            UserConfiguration usConfig = UserConfiguration.Bind(service, "OWA.UserOptions", RootFolderi, UserConfigurationProperties.All);
            if (usConfig.Dictionary.ContainsKey("enablereminders"))
            {
                Console.WriteLine(usConfig.Dictionary["enablereminders"]);
            }


干杯zh
Glen

Cheers
Glen


这篇关于如何在交换Web服务中检索未经检查的默认提醒值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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