Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-02-27 : 11:58:28
|
Jerry writes "I have what is probable a simple DTS question, but can't seem to find the answer.I am new to DTS and as is often the case, I have been thrown to the wolves.I need to know how to set the parameters property of a DTSCreateProcessTask object programmatically from a DTSActiveScriptTask.I can get the Task or Step object from within the DTSActiveScript task using the following codeDIM pkgDIM stpCPTDIM tskCPTSET pkg = DTSGlobalVariables.ParentSET stpCPT = pkg.Steps("DTSStep_DTSCreateProcessTask_1")SET tskCPT = pgk.Tasks("DTSTask_DTSCreateProcessTask_1")What I do not know is whether I should use the Task or Step object, and the syntax to the command.In other words, do I use: stpCPT.??? or tskCPT.???And most import, what is ???Thank you." |
|
|
|
|