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("410E91E9-2C45-487A-851A-5B3DFE747329")> _
Public Interface MainPipe _
    Inherits IDTSPipeline100
用法
Dim instance As MainPipe
[GuidAttribute("410E91E9-2C45-487A-851A-5B3DFE747329")]
public interface MainPipe : IDTSPipeline100
[GuidAttribute(L"410E91E9-2C45-487A-851A-5B3DFE747329")]
public interface class MainPipe : IDTSPipeline100
[<GuidAttribute("410E91E9-2C45-487A-851A-5B3DFE747329")>]
type MainPipe =  
    interface 
        interface IDTSPipeline100 
    end
public interface MainPipe extends IDTSPipeline100

MainPipe 类型公开以下成员。

属性

  名称 说明
公共属性 AutoGenerateIDForNewObjects Gets or sets a value that specifies whether the data flow automatically generates and sets the ID property for newly created objects. (从 IDTSPipeline100 继承。)
公共属性 BLOBTempStoragePath Gets or sets a value that specifies the file system location where Binary Large Objects (BLOBs) are temporarily written to disk. (从 IDTSPipeline100 继承。)
公共属性 BufferManager Gets the IDTSBufferManager100 object. (从 IDTSPipeline100 继承。)
公共属性 BufferTempStoragePath Gets or sets the file system path used to temporarily cache buffer data. (从 IDTSPipeline100 继承。)
公共属性 ComponentMetaDataCollection Gets the collection of data flow components in the task. (从 IDTSPipeline100 继承。)
公共属性 DefaultBufferMaxRows Gets or sets the maximum number of rows the task allows in an IDTSBuffer100 buffer. (从 IDTSPipeline100 继承。)
公共属性 DefaultBufferSize Gets or sets the default size of the IDTSBuffer100 objects created by the task. (从 IDTSPipeline100 继承。)
公共属性 EnableCacheUpdate 基础结构。Gets or sets whether the IDTSPipeline100 enabled the updating of cache. (从 IDTSPipeline100 继承。)
公共属性 EnableDisconnectedColumns Gets or sets a value that indicates whether the data flow task enables the disconnected columns in the main pipe. (从 IDTSPipeline100 继承。)
公共属性 EngineThreads Gets or sets the number of threads the data flow task uses. (从 IDTSPipeline100 继承。)
公共属性 Events Sets the events interface that the data flow and its components use to raise events during execution. (从 IDTSPipeline100 继承。)
公共属性 IsSavingXml 基础结构。Gets or sets whether the IDTSPipeline100 is saving xml. (从 IDTSPipeline100 继承。)
公共属性 PathCollection Gets the IDTSPathCollection100 collection for the data flow task. (从 IDTSPipeline100 继承。)
公共属性 PersistenceCustomPropertyCollection Gets the collection of custom properties that have the specified persistence format. (从 IDTSPipeline100 继承。)
公共属性 RunInOptimizedMode Gets or sets a value that specifies whether the data flow task runs in optimized mode. (从 IDTSPipeline100 继承。)
公共属性 VariableDispenser Sets the IDTSVariableDispenser100 used to lock variables in the package for reading and writing. (从 IDTSPipeline100 继承。)

页首

方法

  名称 说明
公共方法 GetNextPasteID Gets the next available ID that the data flow task generates. (从 IDTSPipeline100 继承。)
公共方法 GetObjectByID Retrieves an object contained in the data flow task by using the ID of the object. (从 IDTSPipeline100 继承。)
公共方法 New 基础结构。Specifies a new instance of IDTSPipeline100 class. (从 IDTSPipeline100 继承。)
公共方法 UpdateCacheOnInputColumns 基础结构。Updates the cache on input column of IDTSPipeline100. (从 IDTSPipeline100 继承。)

页首

注释

The MainPipe (displayed as the Data Flow Task in SQL Server Data Tools (SSDT)) 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;

请参阅

参考

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空间