If you are at all concerned about sound quality, and you have a decent DAC in your receiver or preamp, I would definitely connect digitally.
Digital sound cards are easy to come by, and cheap.
Analog outputs from computer audio card are notoriously poor. Unless you specifically seek out a high-end audio card, your analog out are most likely not so hot.
So, one way or another, do it digitally.