BCGSuite for MFC
void CBCGPAppointmentStorage::SetAutoDelete ( BOOL  bDelete)

Tells the storage whether it needs to destroy an appointment object when it's being removed from the store, or not.

By the default the appointment will be destroyed. Set this parameter to FALSE if you need to keep the appointments alive after they have been removed from the store.

bDeleteIf TRUE, appointments will be destroyed when they are being removed from the store.