LEADTOOLS Cloud (Leadtools.Cloud.Job assembly)

ResetJob Method

Show in webframe





ID (GUID) of the job to update.
New jobType for the specified job.
Metadata which contains information on how this job should be processed.
Resets the specified job.
Syntax
public JobStatus ResetJob( 
   string jobID,
   string jobType,
   string jobMetadata
)
'Declaration
 
Public Function ResetJob( _
   ByVal jobID As String, _
   ByVal jobType As String, _
   ByVal jobMetadata As String _
) As JobStatus
'Usage
 
Dim instance As JobBase
Dim jobID As String
Dim jobType As String
Dim jobMetadata As String
Dim value As JobStatus
 
value = instance.ResetJob(jobID, jobType, jobMetadata)

            

            
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 emtpy 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 Cloud Database.

Requirements

Target Platforms

See Also

Reference

JobBase Class
JobBase Members
Programming with LEADTOOLS Cloud SDK
Creating Cloud Worker Assemblies
Understanding The LEADTOOLS Cloud Database
ResetJob Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.