Developing a Custom Task
Integration Services uses tasks to perform units of work in support of the extraction, transformation, and loading of data. Integration Services includes a variety of tasks that perform the most frequently used actions, from executing an SQL statement to downloading a file from an FTP site. If the included tasks and supported actions do not completely meet your requirements, you can create a custom task.
To create a custom task, you have to create a class that inherits from the Task base class, apply the DtsTaskAttribute attribute to your new class, and override the important methods and properties of the base class, including the Execute method.
For working samples of custom tasks, see the 建立自訂遞增工作範例.
In This Section
This section describes how to create, configure, and code a custom task and its optional custom user interface.
Topic | Description |
---|---|
Describes the first step, which is creating the custom task. |
|
Describes how to code the principal methods of a custom task. |
|
Describes how to connect a custom task to a data source. |
|
Describes how to raise events and define custom events from the custom task. |
|
Describes how to create breakpoint targets in the custom task. |
|
Describes how to create a user interface that shows in SSIS Designer to configure properties on the custom task. |
Related Sections
For information that is common to all the type of custom objects that you can create in Integration Services, see the following topics.
Topic | Description |
---|---|
Describes the basic steps in implementing all kinds of custom objects for Integration Services. |
|
Describes custom persistence and explains when it is necessary. |
|
Describes the techniques for building, signing, deploying, and debugging custom objects. |
For information about the other types of custom objects that you can create in Integration Services, see the following topics.
Topic | Description |
---|---|
Discusses how to program custom connection managers. |
|
Discusses how to program custom log providers. |
|
Discusses how to program custom enumerators. |
|
Discusses how to program custom data flow sources, transformations, and destinations. |
請參閱
參考
Extending the Package with the Script Task
Comparing Scripting Solutions and Custom Objects