Service app project in Visual Studio Pro 2019. Using .NET Framework 4 Client Profile and C#
The user enters the sql instance name in the config file using key/pair value of SQL_INSTANCE "SQLEXPRESS".
Now, the user can set the SQL_INSTANCE to something else if required.
I have googled and most of the result discuss using SQL Configuration manager to see SQL_INSTANCE.
I need to be able to programmatically check it in the Service app to verify if the user entered Instance is
valid. How do I do that ? Didn't see any discussion on how to accomplish this.
Thanks.