Add or Delete a Task or a Container in a Control Flow
Applies to:
SQL Server
SSIS Integration Runtime in Azure Data Factory
When you are working in the control flow designer, the Toolbox in SSIS Designer lists the tasks that Integration Services provides for building control flow in a package. For more information about the Toolbox, see SSIS Toolbox.
A package can include multiple instances of the same task. Each instance of a task is uniquely identified in the package, and you can configure each instance differently.
If you delete a task, the precedence constraints that connect the task to other tasks and containers in the control flow are also deleted.
The following procedures describe how to add or delete a task or container in the control flow of a package.
Add a task or a container to a control flow
In SQL Server Data Tools (SSDT), open the Integration Services project that contains the package you want.
In Solution Explorer, double-click the package to open it.
Click the Control Flow tab.
To open the Toolbox, click Toolbox on the View menu.
Expand Control Flow Items and Maintenance Tasks.
Drag tasks and containers from the Toolbox to the design surface of the Control Flow tab.
Connect a task or container within the package control flow by dragging its connector to another component in the control flow.
To save the updated package, click Save Selected Items on the File menu.
Delete a task or a container from a control flow
In SQL Server Data Tools (SSDT), open the Integration Services project that contains the package you want.
In Solution Explorer, double-click the package to open it. Do one of the following:
Click the Control Flow tab, right-click the task or container that you want to remove, and then click Delete.
Open Package Explorer. From the Executables folder, right-click the task or container that you want to remove, and then click Delete.
To save the updated package, click Save Selected Items on the File menu.
Set the properties of a task or container
You can set most properties of tasks and containers by using the Properties window. The exceptions are properties of task collections and properties that are too complex to set by using the Properties window. For example, you cannot configure the enumerator that the Foreach Loop container uses in the Properties window. You must use a task or container editor to set these complex properties. Most task and container editors have multiple nodes and each node contains related properties. The name of the node indicates the subject of the properties that the node contains.
The following procedures describe how to set the properties of a task or container by using either the Properties windows, or the corresponding task or container editor.
Set the properties of a task or container with the Properties window
In SQL Server Data Tools (SSDT), open the Integration Services project that contains the package you want.
In Solution Explorer, double-click the package to open it.
Click the Control Flow tab.
On the design surface of the Control Flow tab, right-click the task or container, and then click Properties.
In the Properties window, update the property value.
Note
Most properties can be set by typing a value directly in the text box, or by selecting a value from a list. However, some properties are more complex and have a custom property editor. To set the property, click in the text box, and then click the build (...) button to open the custom editor.
Optionally, create property expressions to dynamically update the properties of the task or container. For more information, see Add or Change a Property Expression.
To save the updated package, click Save Selected Items on the File menu.
Set the properties of a task or container with the task or container editor
In SQL Server Data Tools (SSDT), open the Integration Services project that contains the package you want.
In Solution Explorer, double-click the package to open it.
Click the Control Flow tab.
On the design surface of the Control Flow tab, right-click the task or container, and then click Edit to open the corresponding task or container editor.
For information about how to configure the For Loop container, see Configure a For Loop Container.
For information about how to configure the Foreach Loop container, see Configure a Foreach Loop Container.
Note
The Sequence container has no custom editor.
If the task or container editor has multiple nodes, click the node that contains the property that you want to set.
Optionally, click Expressions and, on the Expressions page, create property expressions to dynamically update the properties of the task or container. For more information, see Add or Change a Property Expression.
Update the property value.
To save the updated package, click Save Selected Items on the File menu.
See Also
Integration Services Tasks
Integration Services Containers
Control Flow
Повратне информације
https://aka.ms/ContentUserFeedback.
Стиже ускоро: Током 2024. године постепено ћемо укидати проблеме са услугом GitHub као механизам повратних информација за садржај и заменити га новим системом повратних информација. За додатне информације, погледајте:Пошаљите и прегледајте повратне информације за