HP Operations Manager for Windows

OV_Action::GetServices()
OV_Action::GetServices_Trans()


sint32 GetServices(
[out] OV_Service Services[] )
sint32 GetServices_Trans(
[in] string TransId,
[out] OV_Service Services[] )

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
Services
Instances of OV_Service that are associated with this tool. An instance is valid as a returned out parameter only if the method does not fail.

Calling Convention

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

Description

Returns a list of services (instances of OV_Service) where this tool is added.

Return Value

Number of services in the out parameter Services.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.