DTAP while pregnant?

Sarah
My doctor hasn't brought this up, but I've read that you are suppose to get this vaccine while pregnant to pass the immunity onto baby. How many got it and how many did not? Why or why not?