Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Application Name - VB.NET

Status
Not open for further replies.

stroyer74

IS-IT--Management
Jan 22, 2003
70
US
Most of the applications that I have written in VB.NET use SQL as their backend database. When I am using the SQL Server Enterprise Manager and look at the current activity, process info screen, it will show the user, system, database, and application that is connected to the SQL server. My applications always show up with a ".Net SqlClient Data Provider" name. Does anyone know what I need to add to my code to customize that application name?

Thanks
Sheldon
 
I haven't tried it, but in your connection string, try adding either "App=<any name>" or "Application Name=<any name" to override.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top