IBackgroundCopyJob5::GetProperty method (bits5_0.h)

A generic method for getting BITS job properties.

Syntax

HRESULT GetProperty(
  BITS_JOB_PROPERTY_ID    PropertyId,
  BITS_JOB_PROPERTY_VALUE *PropertyValue
);

Parameters

PropertyId

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

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

   
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