Matt Masson Software Development Engineer Microsoft Corporation SESSION CODE: BIE302 Beyond Scripting: Developing Reusable Extensions for SQL Server Integration Services Matt Masson Software Development Engineer Microsoft Corporation
Microsoft Business Intelligence Business Intelligence with the world’s most popular business productivity suite and most widely deployed information platform Empower Your People Improve Organizational Effectiveness Increase IT Efficiency Self-service access & insight Collaborative across your value chain Trusted, scalable & secure Familiar interface & tools you own today Alignment, accountability & ownership IT management & developer productivity
Microsoft Business Intelligence Business Intelligence with the world’s most popular business productivity suite and most widely deployed information platform Empower Your People Improve Organizational Effectiveness Increase IT Efficiency Self-service access & insight Collaborative across your value chain Trusted, scalable & secure Familiar interface & tools you own today Alignment, accountability & ownership IT management & developer productivity
Microsoft Business Intelligence Business Intelligence with the world’s most popular business productivity suite and most widely deployed information platform Empower Your People Improve Organizational Effectiveness Increase IT Efficiency Self-service access & insight Collaborative across your value chain Trusted, scalable & secure Familiar interface & tools you own today Alignment, accountability & ownership IT management & developer productivity
Business User Experience Business Collaboration Platform Microsoft Business Intelligence Get more out of products you already own Familiar User Experience Self-service Access and Insight Data Exploration and Analysis Predictive Analysis Data Visualization Contextual Visualization Business User Experience Integrated Content and Collaboration Thin Clients Dashboards BI Search Content Management Compositions Business Collaboration Platform Information Platform Information Platform Analysis Services Reporting Services Integration Services Master Data Data Mining Services Data Warehousing
Meet Elton The ETL Developer CASE STUDY
Script Task DEMO
How it Works Code is written in VSTA development environment Visual Studio project is automatically generated Code is compiled into .NET assembly Code and assembly are embedded in SSIS package
Wrappers Connections Output Columns Input Columns
Script Component DEMO
Meet Debbie The DBA CASE STUDY
Meet Elliot Another ETL Developer CASE STUDY
Developing Custom Extensions Tasks and Components
Tasks – The Free Stuff Properties Default persistence Class properties follow component object model All properties are Expression-able Default persistence Base Task UI can be extended
Timings Initialize Validate Execute
Data Flow Components – The Free Stuff Persistence of properties and column metadata Advanced UI Properties Input columns and mapping
Design Time ProvideComponentProperties Validate ReinitializeMetaData Class constructor Validate Verify that the component is correctly configured ReinitializeMetaData Adapt to schema changes
Run Time AcquireConnection Establishes connections Validate Check if the component is correctly configured PreExecute Performs setup logic Cache column / buffer info PrimeOutput Adds data to the pipeline Source and Asynchronous Transforms ProcessInput Processes incoming rows Called for each buffer PostExecute Called at the end of the data flow’s execution
Converting a script task to custom extension Custom Tasks Converting a script task to custom extension DEMO
Which Should I Choose? Easy Intermediate Difficult Extensibility Options Script Script with Assemblies Custom Extension Ease of Creation Development Customization Deployment Maintenance Reuse Easy Intermediate Difficult
Extensibility Resources Books Online – Developing a Custom Data Flow Component http://msdn.microsoft.com/en-us/library/ms136078.aspx Codeplex – Integration Services Community Samples http://www.codeplex.com/SQLSrvIntegrationSrv/ MSDN Forms http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=80&SiteID=1 SSIS Blog http://blogs.msdn.com/mattm/
2010 Microsoft BI Conference Required Slide Resources Learning Sessions On-Demand & Community Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning Resources for IT Professionals Resources for Developers http://microsoft.com/technet http://microsoft.com/msdn
2010 Microsoft BI Conference Required Slide Complete an evaluation on CommNet and enter to win!
Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year
11/22/2018 10:15 PM © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2010 Microsoft BI Conference Required Slide