The ICcmAlternateDownloadProvider::ModifyJobPriority method, in Configuration Manager, instructs the provider to modify the priority for a given job.
HRESULT ModifyJobPriority( [in] REFGUID JobID, [in] CCM_DTS_PRIORITY Priority );
- Data type: REFGUIDQualifiers: [in]The job on which to take action.
- Data type: CCM_DTS_PRIORITYQualifiers: [in]The new priority.
An HRESULT code. Possible values include, but are not limited to, the following:
- Success implies that discovery was triggered successfully. All other return values indicate failure.
|An error should be returned if the job is not found or if modification of the priority failed. If any changes are required to make the guarantees described above on the comments on CCM_DTS_PRIORITY, the provider must make them. If the provider cannot honor that guarantee, it should report an error from this function.|
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.