Edit

Share via


ICcmAlternateDownloadProvider : CancelJob Method

The ICcmAlternateDownloadProvider::CancelJob method, in Configuration Manager, cancels a job.

Note

An error should be returned if the job is not found or if cancellation failed.

Syntax

HRESULT CancelJob(
            REFGUID JobID
    );

Parameters

JobID Data type: REFGUID

Qualifiers: [in]

The job upon which to take action.

Return Values

An HRESULT code. Possible values include, but aren't limited to, the following one:

S_OK Success implies that discovery was triggered successfully. All other return values indicate failure.

Requirements

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.