HP Operations Manager for Windows

OV_PropagationRule::GetFromServiceTypeComposition()
OV_PropagationRule::GetFromServiceTypeComposition_Trans()


OV_PropagationRule GetFromServiceTypeComposition(
[in] string ParentServiceType,
[in] string ChildServiceType)
OV_PropagationRule GetFromServiceTypeComposition_Trans(
[in] string TransId,
[in] string ParentServiceType,
[in] string ChildServiceType)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ParentServiceType
The Name property of the parent service type (instance of OV_ServiceTypeDefinition) in the service type composition.
ChildServiceType
The Name property of the child service type (instance of OV_ServiceTypedefinition) in the service type 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 type composition.

Return Value

Instance of OV_PropagationRule specified with the service type composition.

Extended Status Codes

MDLAPI_E_SVC_TYPE_COMP_ASSOC_NOT_EXIST
Service type 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.