HP Operations Manager for Windows

OV_Service::GetServiceType()
OV_Service::GetServiceType_Trans()


OV_ServiceTypeDefinition GetServiceType()
OV_ServiceTypeDefinition GetServiceType_Trans(
[in] string TransId)

Parameters

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

Calling Convention

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

Description

Returns the service type (instance of OV_ServiceTypeDefinition) of this service.

Return Value

Instance of OV_ServiceTypeDefinition that have the service type of this service.

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.