IBackgroundCopyJob5::GetProperty method

A generic method for getting Delivery Optimization job properties.

Syntax

HRESULT GetProperty(
  [in]  BITS_JOB_PROPERTY_ID    PropertyId,
  [out] BITS_JOB_PROPERTY_VALUE *pPropertyValue
);

Parameters

PropertyId [in]

The ID of the property that is being obtained specified as a BITS_JOB_PROPERTY_ID enum value.

pPropertyValue [out]

The property value returned as a BITS_JOB_PROPERTY_VALUE union.

Return value

The method returns the following return values.

Return code Description
S_OK
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
Deliveryoptimization.h
IDL
DeliveryOptimization.idl
Library
Dosvc.lib
DLL
Dosvc.dll
IID
IID_IBackgroundCopyJob5 is defined as E847030C-BBBA-4657-AF6D-484AA42BF1FE

See also

IBackgroundCopyJob5

IBackgroundCopyJob5::SetProperty