Compartir a través de


Assessment::GetWorkloadAssessment method

Retrieves the specified assessment.

Syntax

virtual HRESULT GetWorkloadAssessment(
  [in]                  INT        assessmentIndex,
  [out, optional] const Assessment **assessment
) const = 0;

Parameters

assessmentIndex [in]

The position in the job manifest of the entry for the assessment that will be running as a solution assessment that executes workloads. This index is used to locate the nested AssessmentRuns collection that describes the workloads to run. The index is zero-based. This field is ignored if the Solution API is not configured in Workload mode.

assessment [out, optional]

The assessment to be retrieved.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeHosting.h
DLL
AxeCore.dll

See also

Assessment

SolutionFlags