MainPipeClass.EngineThreads 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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。
這個屬性為資料流程引擎提供可使用之執行緒數目的建議, 不過,無論這個屬性的值為何,引擎都不會使用超出它所需的執行緒數目。 如果有需要,引擎也可能會使用超過這個屬性所指定的執行緒數目,以避免發生並行的問題。
如需詳細資訊,請參閱 執行計畫和緩衝區配置。
如需這個屬性的簡短討論,以及可以用來優化「資料流程」工作效能的相關屬性,請參閱 資料流程效能功能。