SmoApplication.EnumAvailableSqlServers 方法

包括受保护的成员
包括继承的成员

Enumerates a list of available instances of SQL Server.

此成员被重载。有关此成员的完整信息,包括语法、用法和示例,请单击重载列表中的名称。

重载列表

  名称 说明
公共方法静态成员 EnumAvailableSqlServers() Enumerates a list of available instances of SQL Server.
公共方法静态成员 EnumAvailableSqlServers(Boolean) Enumerates a list of local available instances of SQL Server.
公共方法静态成员 EnumAvailableSqlServers(String) Enumerates a list of available instances of SQL Server that are installed on the computer with the specified instance name.

页首

请参阅

参考

SmoApplication 类

Microsoft.SqlServer.Management.Smo 命名空间