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.

Members

The IBackgroundCopyJob4 interface inherits from IBackgroundCopyJob, IBackgroundCopyJob2, and IBackgroundCopyJob3. IBackgroundCopyJob4 also has these types of members:

  • Methods

Methods

The IBackgroundCopyJob4 interface has these methods.

Method Description
GetMaximumDownloadTime

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

GetOwnerElevationState

Get a value that determines if the token of the owner was elevated at the time they created or took ownership of the job.

GetOwnerIntegrityLevel

Get the integrity level of the token of the owner that created or took ownership of the job.

GetPeerCachingFlags

Retrieves flags that determine if the files of the job can be cached and served to peers and if DO can download content for the job from peers.

SetMaximumDownloadTime

Sets the maximum time that DO will spend transferring the files in the job.

SetPeerCachingFlags

Sets flags that determine if the files of the job can be cached and served to peers and if DO can download content for the job from peers.

 

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

See also

IBackgroundCopyJob

IBackgroundCopyJob2

IBackgroundCopyJob3