Job::GetAssessment method
Retrieve a specific assessment from the job.
Syntax
virtual HRESULT GetAssessment(
[in] INT assessmentIndex,
[out, optional] const Assessment **assessment
) const = 0;
Parameters
-
assessmentIndex [in]
-
The zero-based index of the assessment in the job manifest.
-
assessment [out, optional]
-
A pointer to receive the assessment. If the method fails, assessment will be NULL.
Return value
If the assessment object is created, the method returns S_OK.
If the assessment pointer is NULL, the method returns E_POINTER.
If the specified assessment index does not exist in the job. This is the HRESULT version of the Win32 error code, ERROR_RANGE_NOT_FOUND (0x80070284).
Remarks
Managed code uses the Job.Item | item property property.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|