Microsoft.Protocols.TestSuites.Common.OxcropsClient.MapiConnect C# (CSharp) Method

MapiConnect() private method

Internal use connect to the server for RPC calling.
private MapiConnect ( string mailStoreUrl, string userDN, string domain, string userName, string password ) : bool
mailStoreUrl string The mail store url used to connect with the server.
userDN string User DN used to connect server
domain string Domain name
userName string User name used to logon.
password string User Password.
return bool
        private bool MapiConnect(string mailStoreUrl, string userDN, string domain, string userName, string password)
        {
            uint returnValue = this.mapiHttpAdapter.Connect(mailStoreUrl, domain, userName, userDN, password);
            if (0 == returnValue)
            {
                this.isConnected = true;
                return true;
            }
            else
            {
                return false;
            }
        }