The ICcmAlternateDownloadProvider::CancelJob method, in Configuration Manager, cancels a job.
|An error should be returned if the job is not found or if cancellation failed.|
HRESULT CancelJob( REFGUID JobID );
- Data type: REFGUIDQualifiers: [in]The job upon which to take action.
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.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.