共用方式為


SmoApplication.EnumAvailableSqlServers Method

Enumerates a list of available instances of Microsoft SQL Server.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

多載清單

名稱 Description
SmoApplication.EnumAvailableSqlServers ()
Enumerates a list of available instances of Microsoft SQL Server.
SmoApplication.EnumAvailableSqlServers (Boolean)
Enumerates a list of local available instances of Microsoft SQL Server.
SmoApplication.EnumAvailableSqlServers (String)
Enumerates a list of available instances of Microsoft SQL Server that are installed on the computer with the specified instance name.

請參閱

參考

SmoApplication Class
SmoApplication Members
Microsoft.SqlServer.Management.Smo Namespace

其他資源

Handling SMO Events