PauseJob Method (JobExec)
- Last UpdatedNov 06, 2025
- 1 minute read
The PauseJob() method pauses the specified job by putting it in the New, On Hold, or Suspended state. The job is specified by a work order ID, an operation ID, and an operation sequence number.
For this overload of the method, the current session object and current job exec object will be refreshed automatically.
| Overload | Description |
|---|---|
| PauseJob(JobStates,String,String,Int32,String,Boolean,Int32) | The PauseJob() method pauses the specified job by putting it in the New, On Hold, or Suspended state. The job is specified by a work order ID, an operation ID, and an operation sequence number. For this overload of the method, the current session object and current job exec object will be refreshed automatically. |
| PauseJob(JobStates,String,String,Int32,String,Boolean,Int32,Boolean) | The PauseJob() method pauses the specified job by putting it in the New, On Hold, or Suspended state, and specifies whether to refresh the current session object and current job exec object. The job is specified by a work order ID, an operation ID, and an operation sequence number. This overload of the method includes a flag that allows you to specify that the current session object and current job exec object not be refreshed automatically. |