Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Task Properties via VBScript/ActiveX

Status
Not open for further replies.

aswolff

Programmer
Jul 31, 2006
100
0
0
US
Hello,

How do I assign a value to a property in a Task in VBSCRIPT?

I have a dts package. The final tasks is an "analysis services processing task" that I named "processCube".

I would like to programmatically set the property "ProcessOption" of the task.

Code:
v_process_option = 1
Dim oPKG
Set oPKG = DTSGlobalVariables.Parent
oPKG.Tasks("processCube").ProcessOption = v_process_option

I get an error though.."Object doesnt support this property or method 'oPKG.Tasks(...).ProcessOption'

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top