How to specify HOSTNAME in sql connection string
C#
1
Posts
1
Posters
1
Views
1
Watching
-
Is there a way in C# to specify the hostname in a sql connection string. I know it can be done in C++, but I have searched the documentation for c# and it doesn't appear to be an option. I am trying to replace the hostname (which by default is the machine name) with an app name so when I do an SP_WHO I can see exactly what app is responsible for what connection. Darryl Borden Principal IT Analyst darryl.borden@elpaso.com