Retrieves the type of transfer being performed, such as a file download or upload.
Syntax
HRESULT GetType(
[out] BG_JOB_TYPE *pJobType
);
Parameters
-
pJobType [out]
-
Type of transfer being performed. For a list of transfer types, see the BG_JOB_TYPE enumeration.
Return value
This method returns the following HRESULT values, as well as others.
| Return code | Description |
|---|---|
|
Transfer type was successfully retrieved. |
Remarks
Specify the type of transfer when you create the job.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows 10, version 1709 [desktop apps only] |
| Minimum supported server |
Windows Server, version 1709 [desktop apps only] |
| Header |
|
| IDL |
|
| Library |
|
| DLL |
|
| IID |
IID_IBackgroundCopyJob is defined as 37668D37-507E-4160-9316-26306D150B12 |