How to use RunningPackage class in Script Task
Hi,
I want to use RunningPackage class in my script task to stop a running package on certain condition. I tried to create its object but it does not allow to create because it does not have any constructors.
Anybody has any idea, how to use it in C# script task?
May 13th, 2011 3:26am
Rohit,
Could you please share your "Certain conditions"??
IF (your condition)
Dts.TaskResult = Dts.Results.Success
Else
Dts.TaskResult = Dts.Results.Failure
Let us TRY this |
My Blog :: http://quest4gen.blogspot.com/
Free Windows Admin Tool Kit Click here and download it now
May 13th, 2011 3:36am