HP Operations Manager for Windows

OV_Service::SetReport()
OV_Service::SetReport_Trans()


void SetReport(
[in, optional] string ReportFamily,
[in] string ReportCategory)
void SetReport_Trans(
[in] string TransId,
[in, optional] string ReportFamily,
[in] string ReportCategory)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ReportFamily
New ReportFamily property value of this service. Optional parameter.
ReportCategory
New ReportCategory property value of this service.

Calling Convention

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

Description

Adds report properties to this service.

If the Reporter integration tool is not installed, the method returns MDLAPI_E_NO_REPORT_INTEGRATION. Report family and report category must be valid. Otherwise, the method fails with MDLAPI_E_REPORT_PROP_NOT_VALID. If a report category is selected, the report family is selected automatically.

Return Value

None.

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_PROP_NOT_VALID
Report properties (ReportFamily and ReportCategory) are not valid.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.