IBackgroundCopyJob::GetPriority method

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(
  BG_JOB_PRIORITY *pVal
);

Parameters

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

   
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