IBackgroundCopyFile5::SetProperty method (bits5_0.h)
Sets a generic property of a BITS file transfer.
Syntax
HRESULT SetProperty(
[in] BITS_FILE_PROPERTY_ID PropertyId,
[out] BITS_FILE_PROPERTY_VALUE PropertyValue
);
Parameters
[in] PropertyId
Specifies the property to be set.
[out] PropertyValue
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 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | bits5_0.h (include Bits.h) |
Library | Bits.lib |