HP Operations Manager for Windows

OV_ServiceTypeDefinition::GetChildServiceTypes()
OV_ServiceTypeDefinition::GetChildServiceTypes_Trans()


sint32 GetChildServiceTypes(
[out] OV_ServiceTypeDefinition ServiceTypes[],
[in, optional] boolean IncludeAllSubordinate)
sint32 GetChildServiceTypes_Trans(
[in] string TransId,
[out] OV_ServiceTypeDefinition ServiceTypes[],
[in, optional] boolean IncludeAllSubordinate)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ServiceTypes
Instances of OV_ServiceTypeDefinition that are children of this service type. An instance is valid as a returned out parameter only if the method does not fail.
IncludeAllSubordinate
This flag indicates which child service types to include. Optional parameter. Default value is false (only immediately subordinate service types are included).

Calling Convention

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

Description

Returns a list of service types (instances of OV_ServiceTypeDefinition) that are children of this service type.

Return Value

Number of services types (children) in out parameter ServiceTypes.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.