The COM object you are creating is named "sqlSMO", are you sure this isn't
already the object you are looking for?

Tracy

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Paul
Newton
Sent: Wednesday, April 29, 2020 11:56 AM
To: profoxt...@leafe.com
Subject: SQL Server Shared Management Objects (SMO)

Hi all

We have been using the following to get a list of available servers
loDMO = CreateObject("sqlSMO.Application")
loServerList = loDMO.ListAvailableSQLServers

However SQL-DMO was apparently deprecated with SQL Server 2005 and succeeded
by SQL-SMO.  Has anybody used SQL Server Shared Management Objects in VFP
and, if so, can they please give me some pointers on what I need to install
and how to implement code to replace that above.  Many thanks

Paul Newton


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/000401d61e3f$1546e930$3fd4bb90$@powerchurch.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to