/// <summary>
        /// Establish a connection asynchronously with Connection Manager using the specified connection.
        /// </summary>
        /// <returns>A new instance of <see cref="ConnectionManager" />.</returns>
        static public ConnectionManager EstablishConnectionAsync(string connectionName)
        {
            ConnectionManager connMgr = new ConnectionManager();

            connMgr.Connect(connectionName, ConnectionMode.Asynchronous);
            return(connMgr);
        }
        /// <summary>
        /// Establish a connection with Connection Manager using the specified connection.
        /// </summary>
        /// <returns>A new instance of <see cref="ConnectionManager" />.</returns>
        static public ConnectionManager EstablishConnection(string connectionName)
        {
            ConnectionManager connMgr = new ConnectionManager();

            connMgr.Connect(connectionName);
            return(connMgr);
        }