Upright rows with a close grip puts emphasis on the traps.
Upright rows with a shoulder width grip puts more emphasis on the delts.
Upright rows with a barbell murders your shoulders. (range of motion seems all wrong)
Upright rows with dumbbells are better for your shoulders and are a good delt exercise (picture putting a can of paint on the table for technique)