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

namespace EncryptConn
{
    class Program
    {
        static void Main(string[] args)
        {
            ServerConnection serverConnection = new ServerConnection();
            serverConnection.EncryptConnection = true;
            serverConnection.LoginSecure = false;
            serverConnection.Password = "P@ssw0rd";
            serverConnection.Login = @"Bob";
            Console.WriteLine(serverConnection.ProcessID);
        }
    }
}
