This Microsoft® Visual Basic® sample demonstrates how to use Data Transformation Services (DTS) to transfer various types of database objects from the pubs database to the pubs2 database.
The objects transfered in this sample are:
C:\Program Files\Microsoft SQL Server\80\Tools\Devtools\Samples\Dts\Dtstasls\DTSTransferObjectsTask