IBackgroundCopyJob5::GetProperty method (bits5_0.h)

A generic method for getting BITS job properties.

Syntax

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

Parameters

[in] PropertyId

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

[out] PropertyValue

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 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header bits5_0.h (include Bits.h)
Library Bits.lib

See also

IBackgroundCopyJob5

IBackgroundCopyJob5::SetProperty