Click to Rate and Give Feedback

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
Other versions are also available for the following:
MainPipe Interface

Provides the managed implementation of the IDTSPipeline100 interface used to programmatically configure a data flow task.

Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)
Visual Basic (Declaration)
<GuidAttribute("89CEBA86-EC51-4C62-A2D3-E9AA4FC28900")> _
<CoClassAttribute(GetType(MainPipeClass))> _
Public Interface MainPipe
    Inherits IDTSPipeline100
C#
[GuidAttribute("89CEBA86-EC51-4C62-A2D3-E9AA4FC28900")] 
[CoClassAttribute(typeof(MainPipeClass))] 
public interface MainPipe : IDTSPipeline100
C++
[GuidAttribute(L"89CEBA86-EC51-4C62-A2D3-E9AA4FC28900")] 
[CoClassAttribute(typeof(MainPipeClass))] 
public interface class MainPipe : IDTSPipeline100
J#
/** @attribute GuidAttribute("89CEBA86-EC51-4C62-A2D3-E9AA4FC28900") */ 
/** @attribute CoClassAttribute(Microsoft.SqlServer.Dts.Pipeline.Wrapper.MainPipeClass) */ 
public interface MainPipe extends IDTSPipeline100
JScript
GuidAttribute("89CEBA86-EC51-4C62-A2D3-E9AA4FC28900") 
CoClassAttribute(Microsoft.SqlServer.Dts.Pipeline.Wrapper.MainPipeClass) 
public interface MainPipe extends IDTSPipeline100

The MainPipe (displayed as the Data Flow Task in Business Intelligence Development Studio) is the managed implementation of the IDTSPipeline100 COM interface. It is the interface used from managed code when programmatically creating or modifying a data flow task in a Package. For an overview of the methods and properties available to this object, see the MainPipeClass documentation.


The following code example adds the MainPipe object to a Package and retrieves the MainPipe using the InnerObject property of the TaskHost.

C#
Package p = new Package();
Executable e = p.Executables.Add("DTS.Pipeline.1");
TaskHost thMainPipe = e as TaskHost;
MainPipe dataFlowTask = thMainPipe.InnerObject as MainPipe;

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker