ultrasound?

How far long do u have to be before they can see the baby even there, or could they do a transvaginal and see it?