MainPipeClass.EngineThreads 属性

定义

public:
 virtual property int EngineThreads { int get(); void set(int value); };
[System.Runtime.InteropServices.DispId(125)]
public virtual 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 Overridable Property EngineThreads As Integer

属性值

数据流任务在执行过程中可以使用的线程数量。

实现

属性

注解

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

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

更多信息请参见 执行计划和缓冲区分配

关于该属性及可用于优化 数据流 任务性能的相关属性的简要讨论,请参见 数据流 性能特征

适用于