/// <summary> /// Gets default calendar profile for the user /// </summary> /// <returns> /// </returns> public static CalendarSyncProfile GetDefaultSyncProfile() { var syncProfile = new CalendarSyncProfile { SyncSettings = CalendarSyncSettings.GetDefault(), OutlookSettings = { OutlookOptions = OutlookOptionsEnum.OutlookDesktop | OutlookOptionsEnum.DefaultProfile | OutlookOptionsEnum.DefaultMailBoxCalendar, SetOrganizer = true }, CalendarEntryOptions = CalendarEntryOptionsEnum.Description | CalendarEntryOptionsEnum.Attendees | CalendarEntryOptionsEnum.AttendeesToDescription | CalendarEntryOptionsEnum.Reminders | CalendarEntryOptionsEnum.AsAppointments, SyncDirection = SyncDirectionEnum.OutlookGoogleOneWay, SyncFrequency = new IntervalSyncFrequency { Hours = 1, Minutes = 0, StartTime = DateTime.Now } }; syncProfile.SetSourceDestTypes(); return(syncProfile); }
public CalendarSyncProfile() { Name = "Default Calendar Profile"; GoogleSettings = new GoogleSettings(); SyncSettings = new CalendarSyncSettings(); ExchangeServerSettings = new ExchangeServerSettings(); OutlookSettings = new OutlookSettings(); IsSyncEnabled = true; IsDefault = true; }
public CalendarSyncProfile() { Name = "Default Calendar Profile"; GoogleSettings = new GoogleSettings(); SyncSettings = new CalendarSyncSettings(); ExchangeServerSettings = new ExchangeServerSettings(); OutlookSettings = new OutlookSettings(); IsSyncEnabled = true; IsDefault = true; }