I ask you to carefully read my question.
You may know that when you install VS2005 / 2008 with the release of SQL Server Express, by default SQL Server runs in Windows authentication mode. You can use SQL Server Management Studio to change the mode in mixed mode (Windows and SQL Server authentication mode).
Similar to allowing SQL Server to connect remotely over TCP / IP, you must use SQL Server Configuration Manager, then select the protocol for SQLEXPRESS, and then change the setting for the Tcp / IP parameter.
I need to automate this process programmatically using C #. That is, I need to write a C # program to change the mode or change tcp / ip settings, etc.
Can someone help me on this, how can I do this?
Thank you for sharing your valuable time.
source
share