Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 2.66 KB

File metadata and controls

37 lines (29 loc) · 2.66 KB
title Comparing Scripting Solutions and Custom Objects | Microsoft Docs
ms.custom
ms.date 06/13/2017
ms.prod sql-server-2014
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 janinezhang
ms.author janinez
manager craigg

Comparing Scripting Solutions and Custom Objects

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.

Integration Services icon (small) Stay Up to Date with Integration Services
For the latest downloads, articles, samples, and videos from Microsoft, as well as selected solutions from the community, visit the [!INCLUDEssISnoversion] page on MSDN:

Visit the Integration Services page on MSDN

For automatic notification of these updates, subscribe to the RSS feeds available on the page.

See Also

Extending Packages with Custom Objects