Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Delete Task

Created: 14 Jul 2014 | 3 comments

Is there someway using the ASDK to delete a scheduled task?  I can create one, but I can't find anything to delete one.

Operating Systems:

Comments 3 CommentsJump to latest comment

TGiles's picture

The closest the ASDK has for deleting a Scheduled Task would be the DeleteItem functionality found in the Altiris.ASDK.NS namespace.

EathenR's picture

Does the delete item delete the entire task?  I'm looking to delete the schedule for the task.

TGiles's picture

The delete item function would attempt to delete the item defined by the guid passed to it. If the provided guid has dependancies that prevent it from being deleted it won't delete.