Assembly: Microsoft.SqlServer.ScriptTask (in microsoft.sqlserver.scripttask.dll)
/** @property */ public int get_TaskResult () /** @property */ public void set_TaskResult (int value)
Property ValueThe DTSExecResult of the Script task, mapped to the corresponding member of the ScriptObjectModel.Results enumeration.
Use the TaskResult property of the Dts object in Script task code to notify the package of the success or failure of the Script task.
The Script task can also return additional user-defined information about the results of its execution through the ExecutionValue property.