Megosztás a következőn keresztül:


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.
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.
Public class UnrecognizedScriptLanguageException Infrastructure.
Public class VSTARTScriptObjectModelBase Infrastructure.
Public class VSTATaskScriptingEngine Infrastructure.