You will only be using DMO to enumerate the servers.
The way I do it is this
I have a ServerGroup called Production
I have all my production servers within.
I enumerate through the RegsisteredServers collection pulling each one out.
I then use the DTS object model to open each package.
For Each orServer In SQLDMO.ServerGroups("Production").RegisteredServer s
Set oServer = New SQLServer
oServer.Name = orServer.Name
oServer.LoginSecure = True
oServer.Connect
'Now go get the packages
oServer.DisConnect
Next
End Sub
--
----------------------------
Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org
"Kevin L" <kevin.luke (AT) ecolab (DOT) com> wrote
Quote:
Thank you for the idea. I've done a bit of DMO, but it's been awhile. Do
you, or does anyone have some sample code to do this kind of thing?
thanks.
Kevin |