Condividi tramite


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
BinaryItemNotFoundException  
ErrorCodes  
Languages  
ScriptBreakpointInfo  
ScriptDesignTime  
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.
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.
ScriptTaskCodeProvider  
SourceItemNotFoundException  
UnrecognizedScriptLanguageException  

Structures

Structure Description
ScriptLanguageInfo  

Enumerations

Enumeration Description
ScriptObjectModel.Results Defines the constants used to report the execution result of the Script task to the run-time engine.