IBackgroundCopyJob::GetId method

Retrieves the identifier used to identify the job in the queue.

Syntax

HRESULT GetId(
  GUID *pVal
);

Parameters

pVal

GUID that identifies the job within the BITS queue.

Return Value

This method returns S_OK on success or one of the standard COM HRESULT values on error.

Remarks

The service generates the identifier when you create the job. To use the identifier to retrieve an IBackgroundCopyJob interface pointer for the job, call the IBackgroundCopyManager::GetJob method.

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

IBackgroundCopyManager::CreateJob

IBackgroundCopyManager::GetJob