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)
function Leadtools.Cloud.Job.JobBase.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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2