OV_ServiceTypeDefinition::SetReport()
OV_ServiceTypeDefinition::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 type. Optional
parameter.
- ReportCategory
- New ReportCategory property value of this service type.
Calling Convention
These methods can be called only from a WMI instance object.
Description
Adds report properties to this service type.
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_NOT_EXIST. 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_NOT_EXIST
- Report does not exist.
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.