HP Operations Manager for Windows

IOvReqCheck::GetAllRequirements


Return a list of prerequisites for all supported systems.

HRESULT GetAllRequirements(
[in, defaultvalue(RP_TXT)] ReportFormat rpFormat,
[out, retval] BSTR* Requirements
);

Parameters

rpFormat
Specifies the format of the returned list of prerequisites For valid values, see CheckNode.

Returning Parameter

Requirements
String containing a list of the prerequisites for all supported systems.

HRESULT Return Values

If not ovrcNoError, IErrorInfo is created, and a detailed error description is traced.

ovrcNoError
Method executed successfully.

ovrcErrCannotOpenFile
Prerequisite check configuration file cannot be accessed.

ovrcErrCannotReadFile
Prerequisite check configuration file cannot be read.

ovrcErrCannotCloseFile
Prerequisite check configuration file cannot be closed.

ovrcErrMgmtServerNotSet
UseManagementServer method was not called. Each client should first call the UseManagementServer method to set the management server from which the prerequisite check configuration should be used.

ovrcErrConfigFileSyntax
Syntax of the prerequisite check configuration file is not valid.

(other FAILED)
Another type of error occurred.

Description

The GetAllRequirements method returns the list of prerequisites for all of the supported systems. The format (XML/TXT) of the report is defined with the rpFormat parameter.

Note NOTE (since 8.00):
Variables AGENT_COMM_TYPE and AGENT_BINARY_FORMAT are defined as empty strings.