MainPipe 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
- 派生
- 属性
- 实现
示例
以下代码示例将 MainPipe 对象添加到 a Package ,并利用 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托管实现。 它是在程序创建或修改数据流任务 Package时,从托管代码中使用的接口。 有关该对象可用方法和属性的概述,请参见 MainPipeClass 文档。
属性
方法
| 名称 | 说明 |
|---|---|
| GetNextPasteID() | (继承自 IDTSPipeline100) |
| GetObjectByID(Int32) | (继承自 IDTSPipeline100) |
| New() | (继承自 IDTSPipeline100) |
| UpdateCacheOnInputColumns() | (继承自 IDTSPipeline100) |