please dont rip this site Prev Next

NetScheduleJobDel info  Overview  Group

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.

Security Requirements

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

   );

Parameters

Servername
Pointer to a Unicode string containing the name of the remote server on which the function is to execute. A NULL pointer or string specifies the local computer.
MinJobId
Minimum job identifier. Jobs with a job identifier smaller than MinJobId will not be deleted.
MaxJobId
Maximum job identifier. Jobs with job identifier bigger than MaxJobId will not be deleted.

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.

See Also

NetScheduleJobAdd 


file: /Techref/os/win/api/win32/func/src/f62_8.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/13 02:16,
TOP NEW HELP FIND: 
3.139.97.97: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/Techref/os/win/api/win32/func/src/f62_8.htm"> NetScheduleJobDel</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?