Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9293407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T21:07:52+00:00 2026-06-18T21:07:52+00:00

I am using .NET to extract meta data from an SSIS package. Is there

  • 0

I am using .NET to extract meta data from an SSIS package.

Is there a way to extract the mapping information from and OLEDB source (no variable used for statement) and it’s destination?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T21:07:54+00:00Added an answer on June 18, 2026 at 9:07 pm

    Yes, although you’ll have to get deep into the weeds of the IDTSPipeline100 and associated interfaces to do so:

    using System;
    using Microsoft.SqlServer.Dts.Runtime;
    using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
    
    namespace CSharpConsoleApp
    {
        class PackageDemo
        {
            public void CountColumns(string packagePath, string dataFlowName)
            {
                Application app = new Application();
                Package package = app.LoadPackage(packagePath, null);
    
                TaskHost th = package.Executables[dataFlowName] as TaskHost;
                MainPipe mp = th.InnerObject as MainPipe;
                foreach (IDTSComponentMetaData100 md in mp.ComponentMetaDataCollection)
                {
                    foreach (IDTSOutput100 output in md.OutputCollection)
                    {
                        Console.WriteLine("Component {0} output {1} has {2} columns", 
                            md.Name, output.Name, output.OutputColumnCollection.Count);
                        foreach (IDTSOutputColumn100 column in output.OutputColumnCollection)
                        {
                            Console.WriteLine("\tcolumn {0} ({1}) is of type {2}", 
                                column.ID, column.Name, column.DataType);
                        }
                    }
                }
            }
        }
    }
    

    Note that you will need references to the Microsoft.SqlServer.ManagedDTS, Microsoft.SqlServer.DtsPipelineWrap and Microsoft.SqlServer.DtsRuntimeWrap DLLs for this code to compile.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to extract a date field from a mysql db using .NET and
Using vb.net how to extract text from captcha images
I am using the library using System.Web.UI.WebControls; to extract data from a SQL table
I am currently using a sql data reader (in vb.net) to extract an article
I am looking to extract the camera related information from a jpg using Java.
Can i Extract all the Phone Numbers from Text using C#.net?
Right now, I am using MSHTML to extract data from NAME/ID tags through AX
I'm using the ZipForge to extract an archive in VB.NET. When I run the
Using .Net and Oracle 11g - I've been returning dataTables from a procedure inside
Using .NET's Office interop libraries, does anybody know the best way to convert back

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.