Here is an SQL article on how to do it!
http://www.sqlteam.com/item.asp?ItemID=5403
<http://www.sqlteam.com/item.asp?ItemID=5403>
Let us know
Regards,
Carlos Magalhaes
Best ADSI and DirectoryServices advice :
http://groups.yahoo.com/group/ADSIANDDirectoryServices
<http://groups.yahoo.com/group/ADSIANDDirectoryServices>
Best WMI programming advice : http://groups.yahoo.com/group/WMIPROGRAMMING
<http://groups.yahoo.com/group/WMIPROGRAMMING>
-----Original Message-----
From: Patrick Steele [mailto:patrick@m...]
Sent: Tuesday, February 18, 2003 9:34 PM
To: pro_VB_dotnet
Subject: [pro_vb_dotnet] Re: List SQL Servers
Dave Debreceni wrote:
> Hello all, I am trying to figure out how to list the available SQL
> servers on our network as well as their databases. I need to
> populate a combo box with this info. We used to use the sqldmo
> object in vb6 and I was wondering if there is a better way than that
> for vb.net.
I believe using SQLDMO (through COM-interop) is still the best way to
accomplish this.
---
Patrick Steele
Microsoft .NET MVP
http://radio.weblogs.com/0110109/
---
VB.NET Handbooks Library Special Offer
Get a massive 40% off this complete library
of books (US residents only at the moment).
Free ground shipping on this 10 book bundle!
http://www.wroxdirect.com/proddescription.asp?Bookselect=BUN10E004