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.
201012108527023\TestEnumNetWorkSqlServer\TestEnumNetWorkSqlServer\bin\Debug\EnumNetWorkSqlServer.dll
...............\........................\........................\...\.....\EnumNetWorkSqlServer.pdb
...............\........................\........................\...\.....\TestEnumNetWorkSqlServer.exe
...............\........................\........................\...\.....\TestEnumNetWorkSqlServer.pdb
...............\........................\........................\...\.....\TestEnumNetWorkSqlServer.vshost.exe
...............\........................\........................\...\.....\TestEnumNetWorkSqlServer.vshost.exe.manifest
...............\........................\........................\...\Debug
...............\........................\........................\bin
...............\........................\........................\Form1.cs
...............\........................\........................\Form1.Designer.cs
...............\........................\........................\Form1.resx
...............\........................\........................\obj\Debug\TempPE
...............\........................\........................\...\.....\TestEnumNetWorkSqlServer.csproj.FileListAbsolute.txt
...............\........................\........................\...\.....\TestEnumNetWorkSqlServer.csproj.GenerateResource.Cache
...............\........................\........................\...\.....\TestEnumNetWorkSqlServer.exe
...............\........................\........................\...\.....\TestEnumNetWorkSqlServer.Form1.resources
...............\........................\........................\...\.....\TestEnumNetWorkSqlServer.pdb
...............\........................\........................\...\.....\TestEnumNetWorkSqlServer.Properties.Resources.resources
...............\........................\........................\...\Debug
...............\........................\........................\obj
...............\........................\........................\Program.cs
...............\........................\........................\...perties\AssemblyInfo.cs
...............\........................\........................\..........\Resources.Designer.cs
...............\........................\........................\..........\Resources.resx
...............\........................\........................\..........\Settings.Designer.cs
...............\........................\........................\..........\Settings.settings
...............\........................\........................\Properties
...............\........................\........................\TestEnumNetWorkSqlServer.csproj
...............\........................\TestEnumNetWorkSqlServer
...............\........................\TestEnumNetWorkSqlServer.sln
...............\........................\TestEnumNetWorkSqlServer.suo
...............\........................\【源码说明】.txt
...............\........................\源码天空.htm
...............\TestEnumNetWorkSqlServer
...............\【源码说明】.txt
...............\源码天空.htm
201012108527023