I was looking at adding some basic Exchange features to our intranet, and for now all this is pretty easy to do. However, I ran into a small problem, I do not know how to solve it.
I show our user calendars on my profile page, but I also need to show the Show As attribute for each meeting entry. This is where I get closer. Looking at the properties of an Assignment, there is nothing like a trick. ( http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.appointment_properties%28v=exchg.80%29.aspx )
Can any of you guys point me in the right direction?
What you are looking for is LegacyFreeBusyStatus http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.legacyfreebusystatus(v = exchangeg.80) .aspx , which in the EWS method represents the ShowAs parameter when assigned . eg,
CalendarView cv = new CalendarView(DateTime.Now,DateTime.Now.AddDays(200),100); FindItemsResults<Appointment>findresults = service.FindAppointments(WellKnownFolderName.Calendar, cv); foreach (Appointment aptval in findresults.Items) { Console.WriteLine(aptval.LegacyFreeBusyStatus); }
Greetings Glen
Source: https://habr.com/ru/post/1542625/More articles:Как создать задачу "deploy: migration" - ruby-on-railsHow to protect XHTML files from editing - javaУрегулировать зависимость в cocoapods, когда библиотека не имеет опубликованного podspec - iosHow to insert MergeField into a specific table cell using VBA? - vbaWhat is the difference between spring-shell and CRaSH? - javaSwap String values without a temporary variable - javaember-i18n precompiled translations from Handlebars Runtime - ember.jsInstall OCI8 php extension on Windows server - phpjQuery UI Datepicker after selecting / changing month / year - javascriptThe regex control accepts a number with decimal numbers 0 or 5 in the range 0-5 - regexAll Articles