The ICcmAlternateDownloadProvider::ModifyJobTimeout method, in Configuration Manager, instructs the provider to modify the timeout for a given job.
HRESULT ModifyJobTimeout( REFGUID JobID, DWORD dwTimeoutSeconds );
- Data type: REFGUIDQualifiers: [in]The job on which to take action.
- Data type: DWORDQualifiers: [in]The new timeout.
|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.|
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.