However, if you open Outlook and try to manually create a daily recurring meeting there is a setting to make the daily occurrence only on weekdays. How are they doing this since the Recurrence.DailyPattern object doesn’t have a DaysOfTheWeek property like a WeeklyPattern. Are they really mapping between daily and weekly patterns behind the scenes to cheat and support this?
WebCredentials creds = new WebCredentials(userTb.Text.Trim(), passwordTb.Text.Trim(), domainTb.Text.Trim()); ExchangeService service = Connect(creds); // Create the meeting. Appointment meeting = new Appointment(service); // Set properties on the meeting. meeting.Subject = "Daily Meeting"; meeting.Body = "Blah blah blah"; meeting.Start = new DateTime(2009, 1, 1, 10, 0, 0); meeting.End = meeting.Start.AddHours(1); meeting.Location = "Conf Room 1"; meeting.RequiredAttendees.Add("User1@contoso.com"); meeting.Recurrence = new Recurrence.DailyPattern(meeting.Start.Date, 1); meeting.Recurrence.StartDate = meeting.Start.Date; meeting.Recurrence.EndDate = (meeting.Start.Date).AddDays(13);
|Using C#, how could you improve upon my method of writing out a merged, compressed file?||2||35|
|Questions on e-meial security Encryption Contents for Outlook 2010 outgoing messages||2||64|
|Auto CC in outlook for mac 2011||3||28|
|.NET tools for adding thread safety to a web app?||3||19|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
23 Experts available now in Live!