Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace

The Microsoft.SqlServer.Dts.Tasks.ScriptTask namespace contains the classes that define the Script task and provide support for custom scripting. The ScriptTask class defines the Script task itself. When writing custom script within the Script task, the developer interacts with package objects outside the Script task by using the Dts object, which is an instance of the ScriptObjectModel class.



Represents an events object wrapper.


Gives the developer of the Script task programmatic access to objects defined in the package through the global Dts object. The Dts object is an instance of the ScriptObjectModel class.


Defines the classes for the Script task, which lets developers write custom code to perform functions that are not available in the built-in tasks provided by Integration Services.


Represents the user interface (UI) for the script task.


Represents an attribute of the Script Task from the given entry point.


The exception that is thrown when the scripting language is not recognized.


Gets or sets the global Dts that is the instance of the script object model.


Represents the Visual Studio Tools for Applications (VSTA) scripting engine for executing task scripts.