Hi All,
Appointment app = new Appointment(StartTime, EndTime);app.Reminder.Snoozed = true;app.Reminder.SnoozeInterval = 2;app.Reminder.SnoozeIntervalUnits = SnoozeIntervalUnits.Minutes;app.Reminder.SnoozeTime = StartTime;calAppEntity.AllProperties = app.Save();
In the above code i m trying to set reminder time for the appointment.But the snoozed,SnoozedInterval, SnoozeIntervalUnits and SnoozeTime values are not changed after assign the values for that.
I dont know this is the right way to write the my code for snooze the reminder. Please any one help me........
Regards,
Govindharaju
Hi,
Please take a look at the code below and also to attached sample. If you have any questions do not hesitate to ask meRegards
Appointment app = new Appointment(DateTime.Now.AddSeconds(60), DateTime.Now.AddSeconds(120));app.Subject = "Test Appointment";app.Reminder.DialogText = "Reminder Reminder";app.Reminder.Owner.CalendarInfo = ultraCalendarInfo1;app.Reminder.DisplayInterval = 1;app.Reminder.Enabled = true;app.Reminder.Snoozed = true;