IBackgroundCopyJob4::GetMaximumDownloadTime method
Retrieves the maximum time that Delivery Optimization (DO) will spend transferring the files in the job.
Syntax
HRESULT GetMaximumDownloadTime(
[out] ULONG *pTimeout
);
Parameters
- pTimeout [out]
Maximum time, in seconds, that DO will spend transferring the files in the job.
Return value
The method returns the following return values.
Return code | Description |
---|---|
S_OK | Success |
Remarks
The value is the maximum elapsed time that the job can spend in the CONNECTING or TRANSFERRING state. Time spent in the QUEUED or TRANSIENT_ERROR state does not count against the timeout value.
Requirements
Minimum supported client |
Windows 10, version 1709 [desktop apps only] |
Minimum supported server |
Windows Server 2016 [desktop apps only] |
Header |
Deliveryoptimization.h |
IDL |
DeliveryOptimization.idl |
Library |
Dosvc.lib |
DLL |
Dosvc.dll |
IID |
IID_IBackgroundCopyJob4 is defined as 659cdeae-489e-11d9-a9cd-000d56965251 |