using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SqlServer.Management.Smo;
namespace DeferredConnection
{
    class Program
    {
        static void Main(string[] args)
        {
            Server Canopus5 = new Server("CANOPUS5");
            foreach (Database database in Canopus5.Databases)
            {
                Console.WriteLine(database.Name);
            }
        }
    }
}
