Share via


MainPipeClass.EngineThreads Property

Definition

Gets or sets the number of threads a data flow task uses.

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

Property Value

The number of threads the data flow task can use during execution.

Implements

Attributes

Remarks

The default value for this property is 5. 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 Data Flow Performance Features.

Applies to