ConnectToSQL is a C# utility that encapsulates all the functionality to connect to SQL Server (on premise or in the cloud).

It supports all four authentication mechanisms

Windows Authentication
SQL Server Authentication
Active Directory Password Authentication
Active Directory Integrated Authentication

Just like the standard Connect dialog in SSMS, you can browse for servers on your network

The DLL is provided as well as all the source code.

All you have to do in order to use ConnectToSQL is to derive from the ConnectToSQLBase and over ride one virtual method named DoWork().

 

ConnectToSQL_thumb1

Last edited Sep 8, 2016 at 12:27 PM by Majikbybob, version 2