Deleting an Appointment
To delete an appointment, call the AppointmentItem object’s Delete method, as shown here:
CdoAppointmentItem.Delete
If you want the appointment to be moved to the “Deleted Items” folder, rather than being deleted, supply the Delete method’s optional argument:
CdoAppointmentItem.Delete DeletedItems:=True
If the appointment is recurring, the result depends on whether the AppointmentItem object represents the original appointment or a specific recurrence. If the AppointmentItem object represents the original appointment, the Delete method deletes the entire series. If the AppointmentItem object represents a specific recurrence, only that recurrence is deleted. Whether the AppointmentItem object refers to the original appointment or to a specific recurrence is determined by how the object is obtained, as described later in this chapter, in Section 8.9.