Condividi tramite


MainPipe Interface

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

Spazio dei nomi: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly : Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Sintassi

'Dichiarazione
<GuidAttribute("9D0934EF-FA28-40F2-BF59-AB65C9E780D9")> _
<CoClassAttribute(GetType(MainPipeClass))> _
Public Interface MainPipe
    Inherits IDTSPipeline90
[GuidAttribute("9D0934EF-FA28-40F2-BF59-AB65C9E780D9")] 
[CoClassAttribute(typeof(MainPipeClass))] 
public interface MainPipe : IDTSPipeline90
[GuidAttribute(L"9D0934EF-FA28-40F2-BF59-AB65C9E780D9")] 
[CoClassAttribute(typeof(MainPipeClass))] 
public interface class MainPipe : IDTSPipeline90
/** @attribute GuidAttribute("9D0934EF-FA28-40F2-BF59-AB65C9E780D9") */ 
/** @attribute CoClassAttribute(Microsoft.SqlServer.Dts.Pipeline.Wrapper.MainPipeClass) */ 
public interface MainPipe extends IDTSPipeline90
GuidAttribute("9D0934EF-FA28-40F2-BF59-AB65C9E780D9") 
CoClassAttribute(Microsoft.SqlServer.Dts.Pipeline.Wrapper.MainPipeClass) 
public interface MainPipe extends IDTSPipeline90

Osservazioni

The MainPipe (displayed as the Data Flow Task in Business Intelligence Development Studio) is the managed implementation of the IDTSPipeline90 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.

Esempio

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

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

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

MainPipe Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace