共用方式為


IBackgroundCopyJob::GetPriority 方法(bits.h)

取得該工作的優先權等級。 優先權等級決定該工作相對於傳輸佇列中其他工作被處理的時間。

語法

HRESULT GetPriority(
  [out] BG_JOB_PRIORITY *pVal
);

參數

[out] pVal

該工作相對於傳輸佇列中其他工作的優先順序。

返回值

此方法回傳以下 HRESULT 值及其他值。

回傳碼 Description
S_OK
優先級已成功取得。
E_INVALIDARG
pPriority 參數不能是 NULL。

需求

Requirement 價值觀
最低支援的用戶端 視窗XP
支援的最低伺服器 Windows Server 2003
目標平臺 窗戶
Header Bits.h
Library Bits.lib
DLL QmgrPrxy.dll

另請參閱

BG_JOB_PRIORITY

IBackgroundCopyJob::SetPriority