I have a SSIS package with 4 Sequence Containers. Each one of them has a Script Task. I want to capture the Name of the container from inside the Script Task code. How can I do that? I haven't found a way to access parent objects.
I've currently implemented this with variables, as commented by @LONG. My issue is that because each container is exactly the same (i.e. it contains the same tasks and code), when I do a change, I only do it in one of them, then delete the other 3, and copy/paste the one with the updates. So, with the variable implementation I will need to do more changes after the copy/paste part which I could avoid by reading the container Name