HP Operations Manager for Windows

OV_NodeGroup::AddReport()
OV_NodeGroup::AddReport_Trans()


boolean AddReport(
[in] string ReportName)
boolean AddReport_Trans(
[in] string TransId,
[in] string ReportName)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ReportName
The Name of the report to be added to this node group. If the report name does not exist, the method fails with MDLAPI_E_REPORT_NOT_EXIST.

Calling Convention

These methods can be called only from a WMI instance object.

Description

Adds a report to this node group.

If the Reporter integration tool is not installed, the method returns MDLAPI_E_NO_REPORT_INTEGRATION.

Return Value

False if the report has already been added to this node group.

Extended Status Codes

MDLAPI_E_INVALID_CONFIG_VALUE
Configuration value is not valid.
MDLAPI_E_NO_REPORT_INTEGRATION
Reporter integration tool is not installed.
MDLAPI_E_REPORT_NOT_EXIST
Report does not exist.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.