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 Delivery Optimization 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

Requirement Value
Minimum supported client
Windows 10, version 1709 [desktop apps only]
Minimum supported server
Windows Server, version 1709 [desktop apps only]
Header
Deliveryoptimization.h
IDL
DeliveryOptimization.idl
Library
Dosvc.lib
DLL
Dosvc.dll
IID
IID_IBackgroundCopyJob is defined as 37668D37-507E-4160-9316-26306D150B12

See also

IBackgroundCopyJob

IBackgroundCopyManager::CreateJob

IBackgroundCopyManager::GetJob