Leadtools.Cloud.Job Namespace > JobBase Class : ResetJob Method |
'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)
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.