![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I would like to know how I can monitor the execution of an SSIS package that has been kicked off from a VB.Net component using the DTExec command. I did this in VB 6.0 using the reference to Microsoft DTS package object library and with the following code: For Each oStep In oPackage.Steps If oStep.ExecutionStatus = DTSStepExecStat_Completed Then If oStep.ExecutionResult = TSStepExecResult_Failure Then Call oStep.GetExecutionErrorInfo(lErrNum, sSource, sDescription) sMessage = sMessage & " " & "Step " & oStep.Name & " failed, error: " & lErrNum & " " & sDescription & "." End If End If Next Thanks! Sara *** Sent via Developersdex http://www.developersdex.com *** |
![]() |
| Thread Tools | |
| Display Modes | |
| |