HP Operations Manager for Windows

OV_PropagationRule::GetParentServiceTypes()
OV_PropagationRule::GetParentServiceTypes_Trans()


sint32 GetParentServiceTypes(
[out] OV_ServiceTypeDefinition ParentServiceTypes[] )
sint32 GetParentServiceTypes_Trans(
[in] string TransId,
[out] OV_ServiceTypeDefinition ParentServiceTypes[] )

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ParentServiceTypes
Instances of OV_ServiceTypeDefinition where this propagation rule is used. 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 service types (instances of OV_ServiceTypeDefinition) where this propagation is used for message propagation from child service types.

Return Value

Number of service types in the out parameter ParentServiceTypes.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.