随笔分类 - Exchange
摘要:Getting calendar items using Exchange Web ServicesI am no expert at exchange, let alone Exchange Web Services (EWS), but I recently had to use it to get at calendar information for a project. Let me tell you that the documentation for EWS sucks and the API is not very intuitive. That said, I was abl
阅读全文
摘要:问题:System.Exception: Unable to create a new meetingErrorCalendarInvalidTimeZone时区无效。解答:创建TimeZoneType的时候TimeZoneName如下设置TimeZoneType tzt = new TimeZoneType(); //tzt.TimeZoneName = TimeZone.CurrentTimeZone.StandardName;//如使用这行会出现上述问题 tzt.TimeZoneName = "(GMT+08:00)Beijing, Chongqing, Hong Kong,
阅读全文
摘要:var ews = new ExchangeServiceBinding { Credentials = new NetworkCredential("user", "pass"), Url = "https://servername/ews/exchange.asmx", RequestServerVersionValue = new RequestServerVersion { Version = ExchangeVersionType.Exchange2007}};var startDate = new DateTime(201
阅读全文

浙公网安备 33010602011771号