ArcGIS Pro 2.6 API Reference Guide
CloseJobs Method

ArcGIS.Desktop.Workflow.Models Namespace > JobsManager Class : CloseJobs Method
The IDs of the jobs to close
Closes selected jobs. This method must be called on the MCT. Use QueuedTask.Run
Syntax

Parameters

jobIDs
The IDs of the jobs to close

Return Value

int array of jobs that couldn't be closed
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

JobsManager Class
JobsManager Members