MainPipe 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public interface class MainPipe : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2012::IDTSPipeline100
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.MainPipeClass))]
[System.Runtime.InteropServices.Guid("410E91E9-2C45-487A-851A-5B3DFE747329")]
public interface MainPipe : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.IDTSPipeline100
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.MainPipeClass))>]
[<System.Runtime.InteropServices.Guid("410E91E9-2C45-487A-851A-5B3DFE747329")>]
type MainPipe = interface
interface IDTSPipeline100
Public Interface MainPipe
Implements IDTSPipeline100
- 派生
- 属性
- 实现
示例
以下代码示例将MainPipe对象添加到一个包中,并利用 InnerObject TaskHost的属性检索MainPipe。
Package p = new Package();
Executable e = p.Executables.Add("DTS.Pipeline.1");
TaskHost thMainPipe = e as TaskHost;
MainPipe dataFlowTask = thMainPipe.InnerObject as MainPipe;
注解
MainPipe(在 SQL Server Data Tools(SSDT)中显示为 数据流 Task))是 COM 接口的IDTSPipeline100托管实现。 它是在程序化创建或修改包中数据流任务时,从托管代码中使用的接口。 有关该对象可用方法和属性的概述,请参见 MainPipeClass 文档。
属性
方法
| 名称 | 说明 |
|---|---|
| GetNextPasteID() | (继承自 IDTSPipeline100) |
| GetObjectByID(Int32) | (继承自 IDTSPipeline100) |
| New() | (继承自 IDTSPipeline100) |
| UpdateCacheOnInputColumns() | (继承自 IDTSPipeline100) |