EngineThreads 属性
Gets or sets the number of threads the data flow task uses.
命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
语法
声明
Property EngineThreads As Integer
Get
Set
用法
Dim instance As IDTSPipeline100
Dim value As Integer
value = instance.EngineThreads
instance.EngineThreads = value
int EngineThreads { get; set; }
property int EngineThreads {
int get ();
void set (int value);
}
abstract EngineThreads : int with get, set
function get EngineThreads () : int
function set EngineThreads (value : int)
属性值
类型:System. . :: . .Int32
An integer that specifies the number of threads that the data flow task can use during execution.
注释
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 执行计划和缓冲区分配.
For a brief discussion of this property and related properties that can be used to optimize the performance of the Data Flow task, see the section "Improving the Performance of the Data Flow Task" in 数据流任务.