ResetJob Method

Summary

Resets the specified job.

Syntax
C#
VB
C++
public JobStatus ResetJob( 
   string jobID, 
   string jobType, 
   string jobMetadata 
) 
  
Public Function ResetJob( _ 
   ByVal jobID As String, _ 
   ByVal jobType As String, _ 
   ByVal jobMetadata As String _ 
) As JobStatus 
public: 
JobStatus ResetJob(  
   String^ jobID, 
   String^ jobType, 
   String^ jobMetadata 
)  

Parameters

jobID
ID (GUID) of the job to update.

jobType
New jobType for the specified job.

jobMetadata
Metadata which contains information on how this job should be processed.

Return Value

New jobType of the specified Job.

Remarks

When this method is called the status of the job is set to Jobstatus.New. If this method succeeds the job will be processed by the next available worker.

If an empty string is passed for the %jobMetadata % or jobType parameters the existing job metadata is maintained. For more information on how the jobMetadata, and jobType properties are used, refer to Understanding The LEADTOOLS Job Processor Database.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.