HP Operations Manager for Windows

OV_ServiceTypeDefinition::GetRoot()
OV_ServiceTypeDefinition::GetRoot_Trans()


OV_ServiceTypeDefinition GetRoot()
OV_ServiceTypeDefinition 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 type (instance of OV_ServiceTypeDefinition).

If the service type with the GUID property "root" does not exist, the method fails with MDLAPI_E_SERVICETYPE_NOT_EXIST.

Return Value

Root instance of OV_ServiceTypeDefinition.

Extended Status Codes

MDLAPI_E_SERVICETYPE_NOT_EXIST
Service type does not exist.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.