I’ve tried setting the TransactionOption as an expression on a Sequence Container:
@[User::Config_DevelopmentMode] ? DTSTransactionOption.Supported : DTSTransactionOption.Required
–> Does not evaluate
@[User::Config_DevelopmentMode] "Supported" : "Required"
–> Does evaluate, but gives error : The result of the expression cannot be written to TransactionOtion
Any hints ?
I’ve also tried to change the TransactionOption in a script task, but how to do this ?
See this help page.
TransactionOption property
Set by using values from the DTSTransactionOption enumeration.
So the expression should be: