finding SSIS operational environment in Script Task

  • Hi everyone,

    I am trying to find the way on how my SSIS project is run: in BDIS or through command line.

    This will define what I will choose in Script Task for displaying messages, message box or console.writeline().

    Does anyone have idea where to look?

    Vladimir

  • Hi,

    You could use the system variable "System::InteractiveMode", this is set to "True" if the package is running in interactive mode (i.e. in the SSIS designer) and is set to "False" when running from the command prompt through DTExec.

    Gogula

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply