HP Operations Manager for Windows

OV_Service::GetRoot()
OV_Service::GetRoot_Trans()


OV_Service GetRoot()
OV_Service GetRoot_Trans(
[in] string TransId)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().

Calling Convention

These methods can be called from a WMI class or instance object.

Description

Returns the root service (instance of OV_Service).

If the service with the Name property "Root_Services" does not exist, the method fails with MDLAPI_E_SERVICE_NOT_EXIST.

Return Value

Root instance of OV_Service.

Extended Status Codes

MDLAPI_E_SERVICE_NOT_EXIST
Service does not exist.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.