HP Operations Manager for Windows

OV_PropagationRule::GetFromServiceComposition()
OV_PropagationRule::GetFromServiceComposition_Trans()


OV_PropagationRule GetFromServiceComposition(
[in] string ParentService,
[in] string ChildService)
OV_PropagationRule GetFromServiceComposition_Trans(
[in] string TransId,
[in] string ParentService,
[in] string ChildService)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ParentService
The Name property of the parent service (instance of OV_Service) in the service composition.
ChildService
The Name property of the child service (instance of OV_Service) in the service composition.

Calling Convention

These methods can be called from a WMI class or instance object.

Description

Returns the propagation rule (instance of OV_Propagation) specified with the service composition.

Return Value

Instance of OV_PropagationRule specified with the service composition.

Extended Status Codes

MDLAPI_E_SVC_COMP_ASSOC_NOT_EXIST
Service composition does not exist.
MDLAPI_E_PROPRULE_NOT_EXIST
Message propagation rule does not exist.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.