Vitamin D deficiency causing infertility??

Melissa
Has anyone ever heard of this before? I was just told my by doc that I am deficient in vitamin D and someone just said it caused her to have miscarriages... 
Anyone have any insight on this?