The ICcmAlternateDownloadProvider::ModifyJobSource method, in Configuration Manager, instructs the provider to modify the source location for a given job.
HRESULT ModifyJobSource( REFGUID JobID, LPCWSTR szSourceURL, DWORD dwFlags );
- Data type: REFGUIDQualifiers: [in]The job on which to take action.
- Data type: LPCWSTRQualifiers: [in]The new source location.
- Data type: DWORDQualifiers: [in]The new job flags. This can be ignored by alternate providers.
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 source location failed or if the provider is using the old location and cannot handle the new location.If the provider is not using the source location provided in the call to ICcmAlternateDownloadProvider::DownloadContent method, it can safely ignore this call, but it should not report an error.|
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.