DeleteJobs Method of Client Object (COM-based API)
This method deletes several jobs and their files from the server. It is identical to the DeleteJob method, but with multiple jobs at once.
Visual Basic Syntax
Method DeleteJobs(
jobIds As StringsCollection
)
C++ Syntax
HRESULT DeleteJobs(
IStringsCollection* jobIds
);
Parameters
jobIds
[in] jobIds - a list of ID's of jobs that need to be deleted.
Return Values
This method has no specific return values.
Note. If you are deleting multiple jobs simultaneously, using this method might help reduce the server load. However, using a very large job ID list is not recommended for this method. For example, if you need to delete 100 jobs simultaneously, it might be better to have 10 calls with 10 jobs in each.
See also
26.03.2024 13:49:49