Recover list of SQL Servers

  • Thread starter Thread starter Elicita Mendivil
  • Start date Start date
E

Elicita Mendivil

Hello!

I need to recover the list of SQL servers and the databases for each SQL
server. I try to use the code that I used in VB6, but when the line
oNames = oSQLApp.ListAvailableSQLServers()

run, an exception ocurr : "QueryInterface for interface SQLDMO.NameList
failed."

Please help me........

Elizabeth
 
Back
Top