LEADTOOLS Cloud (Leadtools.Cloud.Job assembly)
LEAD Technologies, Inc

ResetJob Method






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
)
 function Leadtools.Cloud.Job.JobBase.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: 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

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-2012 All Rights Reserved. LEAD Technologies, Inc.