Exchange web service 2010 issue while assign the primarysmtpaddress for impersonation
m_esb.ExchangeImpersonation =New ExchangeImpersonationType()
m_esb.ExchangeImpersonation.ConnectingSID =New ConnectingSIDType()
m_esb.ExchangeImpersonation.ConnectingSID.PrimarySmtpAddress = “manishp2ambitsoftware.com”
Error 1 'ConnectingSIDType' does not contain a definition for 'PrimarySmtpAddress'
Same is working fine with EWS 2007.
As I see in my EWS2010 proxy class there is no such property to set PrimarySmtpAddress in ConnectingSIDType class. Which is there in EWS2007. Please let me know how I can use PrimarySmtpAddress with ExchangeImpersonation in EWS2010.