IBackgroundCopyJob4 interface

Use this interface to enable peer caching, restrict download time, and inspect user token characteristics.

To get this interface, call the IBackgroundCopyJob::QueryInterface method using __uuidof(IBackgroundCopyJob4) as the interface identifier.

Methods

The IBackgroundCopyJob4 interface has these methods.

Method Description
IBackgroundCopyJob4::GetMaximumDownloadTime Retrieves the maximum time that BITS will spend transferring the files in the job.
IBackgroundCopyJob4::GetOwnerElevationState Gets a value that determines if the token of the owner was elevated at the time they created or took ownership of the job.
IBackgroundCopyJob4::GetOwnerIntegrityLevel Gets the integrity level of the token of the owner that created or took ownership of the job.
IBackgroundCopyJob4::GetPeerCachingFlags Retrieves flags that determine if the files of the job can be cached and served to peers and if BITS can download content for the job from peers.
IBackgroundCopyJob4::SetMaximumDownloadTime Sets the maximum time that BITS will spend transferring the files in the job.
IBackgroundCopyJob4::SetPeerCachingFlags Sets flags that determine if the files of the job can be cached and served to peers and if the job can download content from peers.

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header bits3_0.h (include Bits.h)

See Also

IBackgroundCopyJob

IBackgroundCopyJob2

IBackgroundCopyJob3