Job::CheckPrerequisites method
Retrieves a collection of unmet assessment prerequisites.
Syntax
virtual HRESULT CheckPrerequisites(
[out] PrerequisiteCollection **issues
) = 0;
Parameters
-
issues [out]
-
A collection of prerequisites that did not pass. Prerequisites can be warnings or blocking issues. Both types are returned in the issues parameter.
Return value
If successful, this method returns S_OK.
If there is insufficient memory to create an object, this method returns E_OUTOFMEMORY.
If issues is null, this method returns E_POINTER.
Remarks
Assessment prerequisites are defined in the Properties section of the assessment manifest.
Prerequisites can be warnings or blocking issues. Both types of prerequisite failures are returned in the issues parameter.
Managed code uses the Job.CheckPrerequisites | checkPrerequisites method.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|