using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SqlServer.Management.Common;
using Microsoft.SqlServer.Management.Smo;

namespace SQLConnect
{
    class Program
    {
        static void Main(string[] args)
        {
            ServerConnection serverConnection = new ServerConnection();
            serverConnection.LoginSecure = false;
            serverConnection.Login = args[0];
            serverConnection.Password = args[1];
            serverConnection.Connect();
            Console.ReadLine();
        }
    }
}
