共用方式為


IEnumBackgroundCopyJobs1::GetCount 方法 (qmgr.h)

[IEnumBackgroundCopyJobs1 可用於需求一節中指定的作業系統。 它在後續版本中可能會變更或無法使用。 請改用 BITS 介面。]

使用 GetCount 方法可擷取列舉中作業數目的計數。

語法

HRESULT GetCount(
  [out] ULONG *puCount
);

參數

[out] puCount

列舉中的作業數目。

傳回值

此方法會在成功時傳回 S_OK

需求

   
最低支援的用戶端 Windows XP
最低支援的伺服器 Windows Server 2003
目標平台 Windows
標頭 qmgr.h
Dll QmgrPrxy.dll

另請參閱

IEnumBackgroundCopyJobs1