whether you'll be kept on depends on why you're taking it and your doctor's opinion of it.
If you're diabetic then as above poster says its considered safe.
If like me you take it for PCOS then it's considered not safe as it's not been given the official green light for pregnant women for this purpose. however, all research suggests that it's as harmless to baby as anything can be, plus reduces a PCOS lady's chance of miscarriage from around 50% to 11%
My doctor is more than happy for me to take it throughout my pregnancy as he has personal experience of how great it can be for those who have suffered miscarriages caused by PCOS and has read all the research regarding it, however he knows the other doctors in the surgery would not perscribe it to me as they take the official line that it's unsafe. even though if i was diabetic it would be fine x x