OV_ServiceTypeDefinition::SetDependencyPropagationRule()
OV_ServiceTypeDefinition::SetDependencyPropagationRule_Trans()
- void SetDependencyPropagationRule(
- [in] string AntecedentServiceType,
- [in] string PropRuleId)
- void SetDependencyPropagationRule_Trans(
- [in] string TransId,
- [in] string AntecedentServiceType,
- [in] string PropRuleId)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- AntecedentServiceType
- The GUID property of the service type (instance of
OV_ServiceTypeDefinition) on which this service type depends.
- PropRuleId
- New PropRuleId property value of the service type
dependency.
Calling Convention
These methods can be called only from a WMI instance object.
Description
Sets the propagation rule (instance of OV_PropagationRule) for
the service type on which this service type is dependent.
If the new propagation rule does not exist, the method returns
MDLAPI_E_PROPRULE_NOT_EXIST. If the service type dependency does
not exist, the method returns
MDLAPI_E_SVC_TYPE_DEP_ASSOC_NOT_EXIST.
Return Value
None.
Extended Status Codes
- MDLAPI_E_PROPRULE_NOT_EXIST
- Message propagation rule does not exist.
- MDLAPI_E_SVC_TYPE_DEP_ASSOC_NOT_EXIST
- Service type dependency does not exist.
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.