Hi All, When I was trying to write some script in Script Task Editor it is showing "Dts is not declared" error. Can any one help me to sort out this problem.
Here I have provided my code for your reference.
Public Class ScriptMain
Public Sub Main()
Dim dayofweek As String = String.Format("dddd", DateTime.Now)
ayOfWeek").Value = dayofweek
Dts.TaskResult = Dts.Results.Success