esb.RequestServerVersionValue.Version = ExchangeVersionType.Exchange2007_SP1;
esb.RequestServerVersionValue.Version = ExchangeVersionType.Exchange2013_SP1;
The code should redirect the request depending on the location of Mailbox.