public IEnumerable<string> GetDatabases() { lock (this) { if (databases == null) return new string[0]; return databases.Keys; } }