The ICcmAlternateDownloadProvider::ModifyJobTimeout method, in Configuration Manager, instructs the provider to modify the timeout for a given job.

	HRESULT ModifyJobTimeout(
			REFGUID JobID, 
			DWORD dwTimeoutSeconds
	); 

Parameters

JobID

Data type: REFGUIDQualifiers: [in]The job on which to take action.
dwTimeoutSeconds

Data type: DWORDQualifiers: [in]The new timeout.

Remarks

Note
An error should be returned if the job is not found or if modification of the timeout failed. If the new timeout results in the job immediately timing out, the call should complete and then the provider should notify Content Transfer Manager of the error using SendNotifyErrorToCTM.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

S_OK

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

Requirements

Runtime Requirements

Development Requirements