Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 2.22 KB

File metadata and controls

39 lines (29 loc) · 2.22 KB
title Comparing Scripting Solutions and Custom Objects | Microsoft Docs
ms.custom
ms.date 03/04/2017
ms.prod sql
ms.prod_service integration-services
ms.reviewer
ms.technology integration-services
ms.topic reference
dev_langs
VB
helpviewer_keywords
managed tasks [Integration Services]
Script task [Integration Services], vs. custom managed tasks
SSIS Script task, vs. custom managed tasks
custom tasks [Integration Services], scripts
ms.assetid c0aea822-a21e-44e1-a3d3-8777bd0a1c34
author chugugrace
ms.author chugu

Comparing Scripting Solutions and Custom Objects

[!INCLUDEssis-appliesto]

An [!INCLUDEssISnoversion] Script task or Script component can implement much of the same functionality that is possible in a custom managed task or data flow component. Here are some considerations to help you choose the appropriate type of task for your needs:

  • If the configuration or functionality is specific to an individual package, you should use the Script task or the Script component instead of a developing a custom object.

  • If the functionality is generic, and might be used in the future for other packages and by other developers, you should create a custom object instead of using a scripting solution. You can use a custom object in any package, whereas a script can be used only in the package for which it was created.

  • If the code will be reused within the same package, you should consider creating a custom object. Copying code from one Script task or component to another leads to reduced maintainability by making it more difficult to maintain and update multiple copies of the code.

  • If the implementation will change over time, consider using a custom object. Custom objects can be developed and deployed separately from the parent package, whereas an update made to a scripting solution requires the redeployment of the whole package.

See Also

Extending Packages with Custom Objects