MainPipe 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供用于以编程方式配置数据流任务的 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 文档。
属性
方法
GetNextPasteID() |
获取数据流任务生成的下一个可用 ID。 (继承自 IDTSPipeline100) |
GetObjectByID(Int32) |
通过使用对象的 ID 检索数据流任务中包含的对象。 (继承自 IDTSPipeline100) |
New() |
指定 IDTSPipeline100 类的新实例。 (继承自 IDTSPipeline100) |
UpdateCacheOnInputColumns() |
更新 IDTSPipeline100 的输入列的缓存。 (继承自 IDTSPipeline100) |