tags:

views:

27

answers:

2

I want to discover SQL Server instance in a given range of IP address using C#. How do I do this.

Thanks in advance.

A: 

See here for an example Finding SQL Servers running on a network

I got a lot of hits with http://www.google.co.nz/search?sourceid=chrome&ie=UTF-8&q=search+for+sql+server+instances

Preet Sangha
This is a pretty old article - from 2001 - and several of the methods mentioned have been deprecated in newer releases. ISQL/OSQL have been replaced by SQLCMD, and SQL-DMO support requires backward compatibility components to be installed on SQL 2005/2008.
Ed Harper
Yes. But question is do they still work. For example I still use osql to this day on sql 2008
Preet Sangha
A: 

There is source code for older versions of SQLPing

gbn