The ListAvailableSQLServers method returns a NameList object enumerating network-visible Microsoft® SQL Server™ installations.
object.ListAvailableSQLServers( ) as NameList
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
A NameList object enumerating SQL Server installations.
The ListAvailableSQLServers method is supported only for servers and workstations running Microsoft Windows NT®.
HRESULT ListAvailableSQLServers(
LPSQLDMONAMELIST* ppServerNames);