Studies seem to be mixed. I've had a hard time finding any that looked at individuals who supplement. Most seem to focus on vitamin d at infection onset or during critical care which is too late. Vitamin D takes about a month of loading for it to have an effect. The one study I did find had a very small sample size.