OV_PropagationRule::GetFromServiceTypeDependency()
OV_PropagationRule::GetFromServiceTypeDependency_Trans()
- OV_PropagationRule GetFromServiceTypeDependency(
- [in] string AntecedentServiceType,
- [in] string DependentServiceType)
- OV_PropagationRule GetFromServiceTypeDependency_Trans(
- [in] string TransId,
- [in] string AntecedentServiceType,
- [in] string DependentServiceType)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- AntecedentServiceType
- The Name property of the antecedent service type (instance of
OV_ServiceTypeDefinition) in the service type dependency.
- DependentServiceType
- The Name property of the dependent service type (instance of
OV_ServiceTypeDefinition) in the service type 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 type dependency.
Return Value
Instance of OV_PropagationRule specified with the service type
dependency.
Extended Status Codes
- MDLAPI_E_SVC_TYPE_DEP_ASSOC_NOT_EXIST
- Service type 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.