Step 1: Understanding the question.
The technique involving the use of electrons to impact samples is known as Electron Spray Ionization (ESI), a method used in mass spectrometry.
Step 2: Analyzing the options.
(A) NMR spectroscopy: Incorrect — NMR does not involve electron impact; it relies on magnetic fields and radiofrequency waves.
(B) ESI mass spectrometry: Correct — In ESI, samples are ionized by the impact of electrons, which is then analyzed by mass spectrometry.
(C) IR spectroscopy: Incorrect — IR spectroscopy involves the absorption of infrared light, not electron impact.
(D) UV-vis spectroscopy: Incorrect — UV-vis spectroscopy involves ultraviolet and visible light, not electron impact.
Step 3: Conclusion.
The correct answer is (B) ESI mass spectrometry, as it involves the use of electron impact to ionize the sample for analysis.