How to create the below code for EXCHANGE SERVER version like 2007_sp1 and 2013_sp1, in co-existence scenario.
Code
esb.RequestServerVersionValue.Version = ExchangeVersionType.Exchange2007_SP1;Code
esb.RequestServerVersionValue.Version = ExchangeVersionType.Exchange2013_SP1;Code
The code should redirect the request depending on the location of Mailbox.Code


Answers
Know the answer? Post it. Somebody with the same question will find it here.