IBackgroundCopyJob::GetId method

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

Syntax


HRESULT GetId(
  [out]  GUID *pJobID
);

Parameters

pJobID [out]

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

Header

Bits.h

IDL

Bits.idl

Library

Bits.lib

DLL

QmgrPrxy.dll

IID

IID_IBackgroundCopyJob is defined as 37668D37-507E-4160-9316-26306D150B12

See also

IBackgroundCopyManager::CreateJob
IBackgroundCopyManager::GetJob

 

 

Community Additions

ADD
Show:
© 2014 Microsoft