3.1.4.1.2 Delete Task

To delete a task, the client MUST first know the task's ID, obtained when adding the task (see section 3.1.4.1.1) or enumerating tasks (see section 3.1.4.1.4). Then the client MUST invoke the NetrJobDel method with the desired task ID in the MinJobId and MaxJobId parameters. To delete all tasks with IDs in a numeric range (note that the server MUST allocate task IDs sequentially; see section 3.2.5.2.1), the client MUST invoke the NetrJobDel method specifying in the MinJobId parameter the lowest desired task ID and in the MaxJobId parameter the highest desired task ID.