IBackgroundCopyJob5::GetProperty method

A generic method for getting BITS 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 codeDescription
S_OK

Success

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Bits5_0.h (include Bits.h)

IDL

Bits5_0.idl

Library

Bits.lib

See also

IBackgroundCopyJob5
IBackgroundCopyJob5::SetProperty

 

 

Show: