IBackgroundCopyFile5::GetProperty method (bits5_0.h)

Gets a generic property of a BITS file transfer.

Syntax

HRESULT GetProperty(
  [in]  BITS_FILE_PROPERTY_ID    PropertyId,
  [out] BITS_FILE_PROPERTY_VALUE *PropertyValue
);

Parameters

[in] PropertyId

Specifies the file property whose value is to be retrieved.

[out] PropertyValue

The property value, returned as a pointer to a BITS_FILE_PROPERTY_VALUE union. Use the union field appropriate for the property ID value passed in.

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

See also

IBackgroundCopyFile5

IBackgroundCopyFile5.SetProperty