Obtain Batch Process name from available objects within script
I'm working on a custom script and I need to know the Batch Process Name to which a batch belongs. So, knowing that I am working with a folder level object, I can work back to the batch easy enough:
So, it would seem a logical conclusion that from that batch variable, there is a property that would give me the process name... but I can not locate this in the documentation. What is the property I am after?
Dim folder As BatchFolder = CurNode
Dim batch As Batch = folder.Batch