05-20-2008 06:37 AM
I’m currently working on deleting an activity from a database programatically through the Act 2008 SDK.
I’ve attained an instance of an Activity object. I’m trying to use the ActivityManager’s DeleteActivity method to delete it.
This method requires an ActivityAccessor object.
I’m not familiar with this object type and the reference and samples don’t seem to help me.
Please help me in attaining the correct accessor object for the deletion to work.
05-20-2008 08:04 AM
You could try the following code, I haven't tested it so let me know how you get on:
oActivMan = oFramework.Activities;
Activity oActiv = myGetActivityMethod(oActivMan);
The CalendarDelegateGrantor Class inherits from the ActivityAccessor Class so I am hoping it works!