OV_ServiceTypeDefinition::GetCompositionPropagationRule()
OV_ServiceTypeDefinition::GetCompositionPropagationRule_Trans()
- OV_PropagationRule GetCompositionPropagationRule(
- [in] string ChildServiceType)
- OV_PropagationRule GetCompositionPropagationRule_Trans(
- [in] string TransId,
- [in] string ChildServiceType)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- ChildServiceType
- The GUID property of the service type (instance of
OV_ServiceTypeDefinition) that is the child of this service
type.
Calling Convention
These methods can be called only from a WMI instance object.
Description
Returns the propagation rule (instance of OV_PropagationRule)
for the service type that is child of this service type.
If the new propagation rule does not exist, the method returns
MDLAPI_E_PROPRULE_NOT_EXIST. If the service type composition does
not exist, the method returns
MDLAPI_E_SVC_TYPE_COMP_ASSOC_NOT_EXIST.
Return Value
Instance of OV_PropagationRule of this service type
composition.
Extended Status Codes
- MDLAPI_E_PROPRULE_NOT_EXIST
- Message propagation rule does not exist.
- MDLAPI_E_SVC_TYPE_COMP_ASSOC_NOT_EXIST
- Service type composition does not exist.
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.