简体   繁体   中英

How to set reminding time for appointment to NONE?

I use Independencesoft.Exchange library. I try to create an appointment for some users from my external application. How can I set reminding of this appointment to NONE? I tried

var appointment = new Appointment
            {
                // some properties setters.
                ReminderIsSet = false,
                ReminderMinutesBeforeStart = 0
            };`

but it does not work. Any suggestions?

I know this is a little late, but I just came across this issue. I found out that you have to set both of the following values to have reminder set to none:

ReminderIsSetSpecified = true;
ReminderIsSet = false;

I know this is 6 years too late, but I googled this issue and found this page. Since none of the answers here worked for me, I will post the solution I eventually found that worked for the next googler:

Public Sub Alex()

    Dim objOL As Object
    Dim CurrAppt As AppointmentItem

    Set objOL = CreateObject("Outlook.Application")
    Set CurrAppt = objOL.ActiveInspector.CurrentItem

    CurrAppt.ReminderSet = False   ' <=====================
    CurrAppt.Save

End Sub

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM