HP Operations Manager for Windows

OV_PropagationRule::GetServiceTypesWithMsgPropRule()
OV_PropagationRule::GetServiceTypesWithMsgPropRule_Trans()


sint32 GetServiceTypesWithMsgPropRule(
[out] OV_ServiceTypeDefinition ServiceTypes[] )
sint32 GetServiceTypesWithMsgPropRule_Trans(
[in] string TransId,
[out] OV_ServiceTypeDefinition ServiceTypes[] )

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ServiceTypes
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.

Return Value

Number of service types in the out parameter ServiceTypes.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.