SiteScheduledJobs.changeJobDefinitionState (Method)
Changes the state of the specified job definition.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
jobDefinitionID | PositiveInteger | Required | The ID of the job definition. |
state | JobDefinitionState | Required | The new state of the job definition (Available, Hidden or Suspended). |
Context:
License Requirements | (none) |
Permission Requirements | site:SiteAdmin |
Deny Context | ClusterROPS |
Require Context | (none) |
Author Lock | (not required) |
Transaction Logging | Transaction logging is disabled for this method |
Customization | Customization is not supported for this method. |
Error Codes:
Code | Error Message |
---|---|
39005 | The specified job definition is not a valid $1 level job definition. |
Notes:
None