MainPipe インターフェイス

定義

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オブジェクトをパッケージに追加し、TaskHostの InnerObject プロパティを使ってMainPipeを取得します。

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のData Flowタスク(SSDT)として表示)は、IDTSPipeline100COMインターフェースの管理された実装です。 これは、パッケージ内でデータフロータスクをプログラム的に作成または変更する際に、マネージドコードから使われるインターフェースです。 このオブジェクトで利用可能なメソッドやプロパティの概要については、MainPipeClassのドキュメントをご覧ください。

適用対象