通过 Exchange 服务设置周末 API

Set weekend days via Exchange Service API

我想通过 Exchange 服务创建新日历 API,如何设置周末(星期日、星期六...)?

我可以这样创建日历

var folder = new CalendarFolder(
folder.DisplayName = "New calendar folder";
folder.Save(WellKnownFolderName.Calendar);

但是没有我需要的属性或方法。

我想你是在找工作时间?您不能按日历设置这些选项,它是按邮箱设置的。 EWS 没有为您提供设置这些属性的直接方法,但如果您愿意,可以在此处完整记录配置存储方式的格式: https://msdn.microsoft.com/en-us/library/ee202895(v=exchg.80).aspx