共用方式為


MainPipe Interface

Definition

public interface class MainPipe : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::IDTSPipeline100
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.MainPipeClass))]
[System.Runtime.InteropServices.Guid("6D3931AC-822D-414C-8F10-7447A54BA55C")]
public interface MainPipe : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.IDTSPipeline100
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.MainPipeClass))>]
[<System.Runtime.InteropServices.Guid("6D3931AC-822D-414C-8F10-7447A54BA55C")>]
type MainPipe = interface
    interface IDTSPipeline100
Public Interface MainPipe
Implements IDTSPipeline100
Derived
Attributes
Implements

Examples

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;  

Remarks

The MainPipe (displayed as the Data Flow Task in SQL Server Data Tools (SSDT)) 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.

Properties

AutoGenerateIDForNewObjects (Inherited from IDTSPipeline100)
BLOBTempStoragePath (Inherited from IDTSPipeline100)
BufferManager (Inherited from IDTSPipeline100)
BufferTempStoragePath (Inherited from IDTSPipeline100)
ComponentMetaDataCollection (Inherited from IDTSPipeline100)
DefaultBufferMaxRows (Inherited from IDTSPipeline100)
DefaultBufferSize (Inherited from IDTSPipeline100)
EnableCacheUpdate (Inherited from IDTSPipeline100)
EnableDisconnectedColumns (Inherited from IDTSPipeline100)
EngineThreads (Inherited from IDTSPipeline100)
Events (Inherited from IDTSPipeline100)
IsSavingXml (Inherited from IDTSPipeline100)
PathCollection (Inherited from IDTSPipeline100)
PersistenceCustomPropertyCollection[DTSPersistenceFormat] (Inherited from IDTSPipeline100)
RunInOptimizedMode (Inherited from IDTSPipeline100)
VariableDispenser (Inherited from IDTSPipeline100)

Methods

GetNextPasteID() (Inherited from IDTSPipeline100)
GetObjectByID(Int32) (Inherited from IDTSPipeline100)
New() (Inherited from IDTSPipeline100)
UpdateCacheOnInputColumns() (Inherited from IDTSPipeline100)

Applies to