private void GetEndpointUrl()
{
string originalServerName = Common.GetConfigurationPropertyValue("SutComputerName", this.Site);
string transportSequence = Common.GetConfigurationPropertyValue("TransportSeq", this.Site);
string requestURL = Common.GetConfigurationPropertyValue("AutoDiscoverUrlFormat", this.Site);
requestURL = Regex.Replace(requestURL, @"\[ServerName\]", originalServerName, RegexOptions.IgnoreCase);
AutoDiscoverProperties autoDiscoverProperties = AutoDiscover.GetAutoDiscoverProperties(this.Site, originalServerName, this.userName, this.domainName, requestURL, transportSequence.ToLower());
this.mailStoreUrl = autoDiscoverProperties.PrivateMailStoreUrl;
this.addressBookUrl = autoDiscoverProperties.AddressBookUrl;
}