The NetScheduleJobDel function deletes a range of jobs queued to run at a computer. This function requires that the Schedule service be started at the computer to which the job deletion request is being sent.
Only members of the Administrators local group can successfully execute NetScheduleJobDel on a remote server.
NET_API_STATUS NetScheduleJobDel(
LPWSTR Servername, | |
DWORD MinJobId, | |
DWORD MaxJobId | |
); |
This function deletes all jobs whose job identifier is in the range MinJobId through MaxJobId. To delete all jobs at the server, you can call this function with MinJobId equal to 0 and MaxJobId equal to (DWORD) - 1. To delete just one particular job, you can choose MinJobId and MaxJobId both equal to the identifier for that job.
file: /Techref/os/win/api/win32/func/src/f62_8.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/30 16:44,
18.222.164.176:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/Techref/os/win/api/win32/func/src/f62_8.htm"> NetScheduleJobDel</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.