Delen via


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.

Classes

  Class Description
Public class EventsObjectWrapper Infrastructure. Represents an events object wrapper.
Public class ScriptObjectModel 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.
Public class ScriptTask 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.
Public class ScriptTaskUI Infrastructure. Represents the user interface (UI) for the script task.
Public class SSISScriptTaskEntryPointAttribute Represents an attribute of the Script Task from the given entry point.
Public class UnrecognizedScriptLanguageException Infrastructure. The exception that is thrown when the scripting language is not recognized.
Public class VSTARTScriptObjectModelBase Infrastructure. Represents the base of the script object model class in Microsoft Visual Studio Tools for Applications (VSTA).
Public class VSTATaskScriptingEngine Infrastructure. Represents the Visual Studio Tools for Applications (VSTA) scripting engine for executing task scripts.