PyITaskScheduler.AddWorkItem

AddWorkItem(TaskName, WorkItem)

Create a new scheduled task from PyITask object

Parameters

TaskName : unicode

Name of task to be created

WorkItem : PyITask

Existing PyITask object

Comments

The PyItask passed in is modified in place and on success is associated with the new task, not the old one