Designing a custom task
To design a custom control flow task, you create a DOT.NET assembly based on the Class Library Visual Studio template; the task's definition must be placed in a class derived from the Task
base class, of the Microsoft.SqlServer.Dts.Runtime
namespace (located in the Microsoft.SqlServer.ManagedDTS.dll
assembly). This class also needs to implement the DtsTaskAttribute
that is used to identify the class as an SSIS task and provide the elementary properties used when implementing the custom task in SSIS control flows.
Optionally, you can provide a custom graphical user interface for the custom task, which will be used as the task editor when the task is configured during SSIS package development. If a custom editor is not provided, the custom task can be edited by using the built-in advanced editor.
The task base class provides two methods that you need to override, and in them provide your custom code to:
- Validate the configuration of the task. This method is called automatically...