HP Operations Manager for Windows

OV_PropagationRule::GetFromServiceDependency()
OV_PropagationRule::GetFromServiceDependency_Trans()


OV_PropagationRule GetFromServiceDependency(
[in] string AntecedentService,
[in] string DependentService)
OV_PropagationRule GetFromServiceDependency_Trans(
[in] string TransId,
[in] string AntecedentService,
[in] string DependentService)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
AntecedentService
The Name property of the antecedent service (instance of OV_Service) in the service dependency.
DependentService
The Name property of the dependent service (instance of OV_Service) in the service dependency.

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 dependency.

Return Value

Instance of OV_PropagationRule specified with the service dependency.

Extended Status Codes

MDLAPI_E_SVC_DEP_ASSOC_NOT_EXIST
Service dependency 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.