Сейчас ищут
C Sqlconnectionstringbuilder. Смотреть видео: SQL How To Get Database Name From Connection String Using SqlConnectionStringBuilder, ADO NET EP 02 Connect With Sqlconnectionstringbuilder, C Specifying Port With SqlConnectionStringBuilder, SQL Connection String Builder Initialized In Two Ways.