Name of database-server

  • Thread starter Thread starter Michel Vanderbeke
  • Start date Start date
M

Michel Vanderbeke

Hello,

How can I retrieve the name of the database-server in a VB.NET program?

Thank you,

Michel
 
Hello,

How can I retrieve the name of the database-server in a VB.NET program?

Thank you,

Michel

For which type of database?

For Oracle you could parse the tnsnames.ora file to get a list of
possible servers. I have seen unmanaged ways to get a list of Sql
Server instances, but they seem to be buggy when used in .Net (or at
least when I tried them). Do a google search for "list of sql servers
vb.net" or something similar and you should find quite a few links.

Thanks,

Seth Rowe
 
Back
Top