Skip to Content
Building Custom Tasks for SQL Server Integration Services
book

Building Custom Tasks for SQL Server Integration Services

by Andy Leonard
July 2017
Beginner to intermediate
117 pages
2h 12m
English
Apress
Content preview from Building Custom Tasks for SQL Server Integration Services

© Andy Leonard 2017

Andy Leonard, Building Custom Tasks for SQL Server Integration Services, 10.1007/978-1-4842-2940-8_5

5. Coding the Task

Andy Leonard

(1)Farmville, Virginia, USA

We’ve worked through several chapters in preparation for this chapter, but we are finally ready to begin coding the custom task in earnest. We start by adding references to the project, decorating the class, inheriting from a base class, and adding a property.

Using a Reference

Open the Visual Studio solution ExecuteCatalogPackageTask. In Solution Explorer open the class ExecuteCatalogPackageTask.vb. At the very top of the class, add the following line:

Imports Microsoft.SqlServer.Dts.Runtime

Your class now appears as shown in Figure 5-1.

Figure 5-1. Using a reference ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SQL Server Integration Services

SQL Server Integration Services

Bill Hamilton
SQL Server 2017 Integration Services Cookbook

SQL Server 2017 Integration Services Cookbook

Christian Cote, Dejan Sarka, Matija Lah
Pro SQL Server 2012 Integration Services

Pro SQL Server 2012 Integration Services

Francis Rodrigues, Michael Coles, David Dye
Professional Microsoft SQL Server 2014 Integration Services

Professional Microsoft SQL Server 2014 Integration Services

Brian Knight, Devin Knight, Jessica M. Moss, Mike Davis, Chris Rock

Publisher Resources

ISBN: 9781484229408Purchase bookPublisher Website