// gets either Source connection string, or the destination connection string
        private string GetConnectionString(InputGroup group)
        {
            string serverName   = GetServerName(group);
            string databaseName = GetDatabaseName(group);
            string login        = GetLogin(group);
            string password     = GetPassword(group);

            ConnectionStringBuilder builder = new ConnectionStringBuilder();

            return(builder.AppendServerName(serverName).AppendDatabaseName(databaseName).AppendLogin(login).AppendPassword(password).ToString());
        }