Leadtools.Cloud.Job Namespace > JobBase Class : SetCompletedStatus Method |
public JobStatus SetCompletedStatus( string jobID, string jobMetadata )
'Declaration Public Function SetCompletedStatus( _ ByVal jobID As String, _ ByVal jobMetadata As String _ ) As JobStatus
'Usage Dim instance As JobBase Dim jobID As String Dim jobMetadata As String Dim value As JobStatus value = instance.SetCompletedStatus(jobID, jobMetadata)
public: JobStatus SetCompletedStatus( String^ jobID, String^ jobMetadata )
Use this method to set the status of a job to Jobstatus.Completed indicating the job has been successfully processed. If the job is not found, Jobstatus.NotFound will be returned.
If an empty string is passed for the jobMetadata parameter, the existing job metadata for the job is maintained. For more information on how the jobMetadata property is used, refer to Understanding The LEADTOOLS Cloud Database.