IBackgroundCopyJob::GetPriority method (bits.h)

Retrieves the priority level for the job. The priority level determines when the job is processed relative to other jobs in the transfer queue.

Syntax

HRESULT GetPriority(
  [out] BG_JOB_PRIORITY *pVal
);

Parameters

[out] pVal

Priority of the job relative to other jobs in the transfer queue.

Return value

This method returns the following HRESULT values, as well as others.

Return code Description
S_OK
Priority level was successfully retrieved.
E_INVALIDARG
The pPriority parameter cannot be NULL.

Requirements

Requirement Value
Minimum supported client Windows XP
Minimum supported server Windows Server 2003
Target Platform Windows
Header bits.h
Library Bits.lib
DLL QmgrPrxy.dll

See also

BG_JOB_PRIORITY

IBackgroundCopyJob::SetPriority