Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

List SQL server instances

i need to list the sql instances available on a system through VB.net 2005 code. How do i go about doin this?
[109 byte] By [kodekracker] at [2007-11-11 10:30:59]
# 1 Re: List SQL server instances
http://support.microsoft.com/kb/287737
Phil Weber at 2007-11-11 20:47:31 >
# 2 Re: List SQL server instances
this gives a list of servers not sql instances
kodekracker at 2007-11-11 20:48:32 >
# 3 Re: List SQL server instances
Is this what you are looking for:

Enumerating Instances of SQL Server ( http://msdn2.microsoft.com/en-us/library/a6t1z9x2.aspx)
pclement at 2007-11-11 20:49:36 >
# 4 Re: List SQL server instances
wonderful, exactly what i wanted.

thanks to all suggestions.
kodekracker at 2007-11-11 20:50:32 >