2. The number of different real numbers $a$ that make the roots of the quadratic equation $x^{2}-a x+9 a=0$ both positive integers is ( ).
(A) 3
(B) 5
(C) 6
(D) 10
2. A

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.