IBackgroundCopyFile5::SetProperty method

Sets a generic property of a Delivery Optimization file transfer.

Syntax

HRESULT SetProperty(
  [in]  BITS_FILE_PROPERTY_ID    PropertyId,
  [out] BITS_FILE_PROPERTY_VALUE *ProertyValue
);

Parameters

PropertyId [in]

Specifies the property to be set.

ProertyValue [out]

A pointer to a union that specifies the value to be set. The union member appropriate for the property ID is used.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client
Windows 10, version 1709 [desktop apps only]
Minimum supported server
Windows Server, version 1709 [desktop apps only]
Header
Deliveryoptimization.h
IDL
DeliveryOptimization.idl
Library
Dosvc.lib
DLL
Dosvc.dll
IID
IID_IBackgroundCopyFile5 is defined as 85C1657F-DAFC-40E8-8834-DF18EA25717E

See also

IBackgroundCopyFile5

IBackgroundCopyFile5.GetProperty