If I was using C# I could use the .net framework\'s SqlDataSourceEnumerator to discover and show a user a list of SQL Server instances on the network.
How can I do t
You can use the NetServerEnum function , filtering by the SV_TYPE_SQLSERVER value in the servertype param, another option is use the SQLOLEDB Enumerator ADO object.
SV_TYPE_SQLSERVER