No, a vasectomy affects none of your hormone levels, including testosterone. It merely prevents your testicles from supplying sperm to the seminal vesicles.