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

属性值

Int32

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

实现

属性

注解

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

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

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

有关可用于优化数据流任务性能的此属性和相关属性的简要介绍,请参阅 数据流性能特点

适用于