Export (0) Print
Expand All

IBackgroundCopyJob4::GetMaximumDownloadTime method

Retrieves the maximum time that BITS will spend transferring the files in the job.

Syntax


HRESULT GetMaximumDownloadTime(
  [out] ULONG *pTimeout
);

Parameters

pTimeout [out]

Maximum time, in seconds, that BITS will spend transferring the files in the job.

Return value

The method returns the following return values.

Return codeDescription
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 Vista

Minimum supported server

Windows Server 2008

Header

Bits3_0.h (include Bits.h)

IDL

Bits3_0.idl

Library

Bits.lib

See also

IBackgroundCopyJob4
IBackgroundCopyJob4::SetMaximumDownloadTime

 

 

Community Additions

ADD
Show:
© 2015 Microsoft