Introduction - If you have any usage issues, please Google them yourself
We know that you can use component or SQLDMO. Net is provided in the System.Data. Sql. SqlDataSourceEnumerator enumerate all SQL servers to the LAN, you have no feeling that they are not generally slow, but too slow! This provides a faster class: namespace EnumNetWorkSqlServer in your project add a reference to him, this class provides only one method GetServers (), returns a string [] array.
TestEnumNetWorkSqlServer\TestEnumNetWorkSqlServer\bin\Debug\EnumNetWorkSqlServer.dll
........................\........................\...\.....\EnumNetWorkSqlServer.pdb
........................\........................\...\.....\TestEnumNetWorkSqlServer.exe
........................\........................\...\.....\TestEnumNetWorkSqlServer.pdb
........................\........................\...\.....\TestEnumNetWorkSqlServer.vshost.exe
........................\........................\...\.....\TestEnumNetWorkSqlServer.vshost.exe.manifest
........................\........................\Form1.cs
........................\........................\Form1.Designer.cs
........................\........................\Form1.resx
........................\........................\obj\Debug\TestEnumNetWorkSqlServer.csproj.FileListAbsolute.txt
........................\........................\...\.....\TestEnumNetWorkSqlServer.csproj.GenerateResource.Cache
........................\........................\...\.....\TestEnumNetWorkSqlServer.exe
........................\........................\...\.....\TestEnumNetWorkSqlServer.Form1.resources
........................\........................\...\.....\TestEnumNetWorkSqlServer.pdb
........................\........................\...\.....\TestEnumNetWorkSqlServer.Properties.Resources.resources
........................\........................\Program.cs
........................\........................\...perties\AssemblyInfo.cs
........................\........................\..........\Resources.Designer.cs
........................\........................\..........\Resources.resx
........................\........................\..........\Settings.Designer.cs
........................\........................\..........\Settings.settings
........................\........................\TestEnumNetWorkSqlServer.csproj
........................\TestEnumNetWorkSqlServer.sln
........................\TestEnumNetWorkSqlServer.suo
........................\........................\obj\Debug\TempPE
........................\........................\bin\Debug
........................\........................\obj\Debug
........................\........................\bin
........................\........................\obj
........................\........................\Properties
........................\TestEnumNetWorkSqlServer
TestEnumNetWorkSqlServer