IJob::GetEnumerator method
Retrieves an enumerator used to enumerate the tasks in the job.
Syntax
HRESULT GetEnumerator(
[out] IEnumVARIANT **pRetVal
);
Parameters
- pRetVal [out]
An IEnumVARIANT interface that you use to enumerate the tasks in the job. The items of the enumeration are variants whose type is VT_DISPATCH. Query the pdispVal member of the variant for the ITask interface.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Requirements
Product |
Compute Cluster Pack Client Utilities |
Type library |
Ccpapi.tlb |