Check out the DBProvider Factory classes. They can enumerate any (visible)
servers for any specified provider. There is an example of this in my book.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva www.betav.com Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit
www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------
[quoted text, click to view] <sachinnshah@gmail.com> wrote in message
news:1171977595.098530.60730@k78g2000cwa.googlegroups.com...
> Hi,
>
> I want to find out number of SQL Server database engine running in my
> network ?
>
> I want to write code in VB but can you just give me idea?
>
> Regards,
> Sachin
>