dbTalk Databases Forums  

Re: Scripting DTS jobs to VSS.

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Re: Scripting DTS jobs to VSS. in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Darren Green
 
Posts: n/a

Default Re: Scripting DTS jobs to VSS. - 07-14-2003 , 09:02 AM






There is no Save As VB option on the object model. The closest you could get
would to write the script yourself. You can enumerate all objects and
properties via the object model so you have the information. For a good
start have a look at the ScriptPkg demo project that shipped with SQL Server
7.0. On the CD under samples\dts expand dtsdemo.exe.


--
Darren Green
http://www.sqldts.com

"Adrian Hall" <adrian.hall (AT) npower (DOT) com> wrote

Quote:
I am trying to add DTS scripting to my current database
scripting into VSS

I can't seem to find a way of automating the saving of a
DTS package to a .bas file

Saving to a .dts is not really an option as this is not
very VSS friendly - can't compare files. And it will be a
nightly job, so the changed binaries will mount up
quickly.

The option isn't provided as one of the DTSPAckage object
methods. anyone know why not?

TIA.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.