IDTSPipeline100.EngineThreads Property


 property int EngineThreads { int get(); void set(int value); };
[get: System.Runtime.InteropServices.DispId(125)]
[set: System.Runtime.InteropServices.DispId(125)]
public int EngineThreads { get; set; }
member this.EngineThreads : int with get, set
Public Property EngineThreads As Integer

Property Value


一个整数,该整数指定数据流任务在执行过程中可以使用的线程数。An Integer that specifies the number of threads that the data flow task can use during execution.



此属性的默认值为5。The default value for this property is 5. 不允许值1。The value of 1 is not permitted.

此属性为数据流引擎提供有关使用线程数的建议。This property provides a suggestion to the data flow engine about the number of threads to use. 但是,不论此属性值为多少,引擎都不会使用超过其所需的线程数。However, the engine will not use more threads than it needs, regardless of the value of this property. 如果需要避免并发问题,引擎所使用的线程数也可能会超过此属性指定的线程数。The engine may also use more threads than specified in this property, if necessary to avoid concurrency issues.

有关详细信息,请参阅执行计划和缓冲区分配For more information, see Execution Plan and Buffer Allocation.

有关可用于优化数据流任务性能的此属性和相关属性的简要讨论,请参阅数据流任务中的 "提高数据流任务的性能" 一节。For a brief discussion of this property and related properties that can be used to optimize the performance of the Data Flow task, see the section "Improving the Performance of the Data Flow Task" in Data Flow Task.

Applies to