IDTSPipeline100.EngineThreads 属性

定义

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

属性值

一个 整数 ,指定数据流任务在执行期间可以使用的线程数。

属性

注解

此属性的默认值为 5。 不允许值为 1。

此属性为数据流引擎提供有关使用线程数的建议。 但是,不论此属性值为多少,引擎都不会使用超过其所需的线程数。 如果需要避免并发问题,引擎所使用的线程数也可能会超过此属性指定的线程数。

有关详细信息,请参阅 执行计划和缓冲区分配

有关此属性和相关属性的简要讨论,这些属性可用于优化数据流任务的性能,请参阅数据流任务中的“改进数据流任务的性能”部分。

适用于