IBackgroundCopyJob5::SetProperty method
A generic method for setting Delivery Optimization job properties.
Syntax
HRESULT SetProperty(
[in] BITS_JOB_PROPERTY_ID PropertyId,
[in] BITS_JOB_PROPERTY_VALUE PropertyValue
);
Parameters
-
PropertyId [in]
-
The ID of the property that is being set specified as a BITS_JOB_PROPERTY_ID enum value.
-
PropertyValue [in]
-
The value of the property that is being set. In order to hold a value whose type is appropriate to the property, this value is specified via the BITS_JOB_PROPERTY_VALUE union that is composed of all the known property types.
Return value
The method returns the following return values.
Return code | Description |
---|---|
|
Success |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 10, version 1709 [desktop apps only] |
Minimum supported server |
Windows Server, version 1709 [desktop apps only] |
Header |
|
IDL |
|
Library |
|
DLL |
|
IID |
IID_IBackgroundCopyJob5 is defined as E847030C-BBBA-4657-AF6D-484AA42BF1FE |