←Select platform

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 Leadtools.Jobprocessor.Job.JobStatus 
public: 
Leadtools.Jobprocessor.Job.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.