MainPipe 介面
Provides the managed implementation of the IDTSPipeline100 interface used to programmatically configure a data flow task.
命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
語法
'宣告
<GuidAttribute("89CEBA86-EC51-4C62-A2D3-E9AA4FC28900")> _
Public Interface MainPipe _
Inherits IDTSPipeline100
'用途
Dim instance As MainPipe
[GuidAttribute("89CEBA86-EC51-4C62-A2D3-E9AA4FC28900")]
public interface MainPipe : IDTSPipeline100
[GuidAttribute(L"89CEBA86-EC51-4C62-A2D3-E9AA4FC28900")]
public interface class MainPipe : IDTSPipeline100
[<GuidAttribute("89CEBA86-EC51-4C62-A2D3-E9AA4FC28900")>]
type MainPipe =
interface
interface IDTSPipeline100
end
public interface MainPipe extends IDTSPipeline100
備註
The MainPipe (displayed as the Data Flow Task in Business Intelligence Development Studio) is the managed implementation of the IDTSPipeline100 COM interface. It is the interface used from managed code when programmatically creating or modifying a data flow task in a Package. For an overview of the methods and properties available to this object, see the MainPipeClass documentation.
範例
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;