ArcGIS Pro 2.9 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 11, Windows 10, Windows 8.1

See Also

Reference

JobsManager Class
JobsManager Members