Sdílet prostřednictvím


IConstraintConflict::GetConstraintResolveActionForChangeUnit

Gets the conflict resolution action for the conflicting change unit change.

HRESULT GetConstraintResolveActionForChangeUnit(
  ISyncChangeUnit *pChangeUnit, 
  SYNC_CONSTRAINT_RESOLVE_ACTION * pConstraintResolveAction);

Parameters

  • pChangeUnit
    [in] The change unit for which to retrieve the conflict resolution action.
  • pConstraintResolveAction
    [out] Returns the conflict resolution action for the conflicting change unit change.

Return Value

  • S_OK.

  • E_INVALIDARG.

  • E_POINTER.

  • SYNC_E_INVALID_OPERATION when the change does not contain change units.

See Also

Reference

IConstraintConflict Interface