MainPipe 接口

定义

提供用于以编程方式配置数据流任务的 IDTSPipeline100 接口的托管实现。

public interface class MainPipe : Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSPipeline100
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.MainPipeClass))]
[System.Runtime.InteropServices.Guid("BE3F920C-1F7B-4B2A-B593-6F6C84072D82")]
public interface MainPipe : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSPipeline100
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.MainPipeClass))]
[System.Runtime.InteropServices.Guid("6F5BD75A-C40C-4860-AE25-55EB7CF33DB0")]
public interface MainPipe : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSPipeline100
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.MainPipeClass))]
[System.Runtime.InteropServices.Guid("7068DEA5-9977-4EF9-BB5A-29D1CA3FA415")]
public interface MainPipe : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSPipeline100
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.MainPipeClass))>]
[<System.Runtime.InteropServices.Guid("BE3F920C-1F7B-4B2A-B593-6F6C84072D82")>]
type MainPipe = interface
    interface IDTSPipeline100
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.MainPipeClass))>]
[<System.Runtime.InteropServices.Guid("6F5BD75A-C40C-4860-AE25-55EB7CF33DB0")>]
type MainPipe = interface
    interface IDTSPipeline100
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.MainPipeClass))>]
[<System.Runtime.InteropServices.Guid("7068DEA5-9977-4EF9-BB5A-29D1CA3FA415")>]
type MainPipe = interface
    interface IDTSPipeline100
Public Interface MainPipe
Implements IDTSPipeline100
派生
属性
实现

示例

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;  

注解

SQL Server Data Tools (MainPipe SSDT) ) 中显示为数据流任务 (是 COM 接口的IDTSPipeline100托管实现。 它是在以编程方式创建或修改数据流任务时用于托管代码的 Package接口。 有关此对象可用的方法和属性的概述,请参阅 MainPipeClass 文档。

属性

AutoGenerateIDForNewObjects

获取或设置一个值,该值指定数据流是否为新创建的对象自动生成和设置 ID 属性。

(继承自 IDTSPipeline100)
BLOBTempStoragePath

获取或设置一个值,该值指定将二进制大型对象 (BLOB) 暂时写入到磁盘的文件系统位置。

(继承自 IDTSPipeline100)
BufferManager

获取 IDTSBufferManager100 对象。

(继承自 IDTSPipeline100)
BufferTempStoragePath

获取或设置用于临时缓存缓冲区数据的文件系统路径。

(继承自 IDTSPipeline100)
ComponentMetaDataCollection

获取任务中数据流组件的集合。

(继承自 IDTSPipeline100)
DefaultBufferMaxRows

获取或设置任务在 IDTSBuffer100 缓冲区中允许的最大行数。

(继承自 IDTSPipeline100)
DefaultBufferSize

获取或设置由任务创建的 IDTSBuffer100 对象的默认大小。

(继承自 IDTSPipeline100)
EnableCacheUpdate

获取或设置 IDTSPipeline100 是否启用了缓存更新。

(继承自 IDTSPipeline100)
EnableDisconnectedColumns

获取或设置一个值,该值指示数据流任务是否在主管道中启用断开连接的列。

(继承自 IDTSPipeline100)
EngineThreads

获取或设置数据流任务使用的线程数。

(继承自 IDTSPipeline100)
Events

设置数据流及其组件用来在执行过程中引发事件的事件接口。

(继承自 IDTSPipeline100)
IsSavingXml

获取或设置 IDTSPipeline100 是否正在保存 xml。

(继承自 IDTSPipeline100)
PathCollection

获取数据流任务的 IDTSPathCollection100 集合。

(继承自 IDTSPipeline100)
PersistenceCustomPropertyCollection[DTSPersistenceFormat]

获取具有指定的持久性格式的自定义属性的集合。

(继承自 IDTSPipeline100)
RunInOptimizedMode

获取或设置一个值,该值指定数据流任务是否在优化模式中运行。

(继承自 IDTSPipeline100)
VariableDispenser

设置用于锁定包中变量进行读取和写入的 IDTSVariableDispenser100

(继承自 IDTSPipeline100)

方法

GetNextPasteID()

获取数据流任务生成的下一个可用 ID。

(继承自 IDTSPipeline100)
GetObjectByID(Int32)

通过使用对象的 ID 检索数据流任务中包含的对象。

(继承自 IDTSPipeline100)
New()

指定 IDTSPipeline100 类的新实例。

(继承自 IDTSPipeline100)
UpdateCacheOnInputColumns()

更新 IDTSPipeline100 的输入列的缓存。

(继承自 IDTSPipeline100)

适用于