MainPipeClass.EngineThreads Property

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

命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

语法

声明
<DispIdAttribute(125)> _
Public Overridable Property EngineThreads As Integer Implements IDTSPipeline90.EngineThreads
[DispIdAttribute(125)] 
public virtual int IDTSPipeline90.EngineThreads { get; set; }
[DispIdAttribute(125)] 
public:
virtual property int EngineThreads {
    int get () = IDTSPipeline90::EngineThreads::get;
    void set ([InAttribute] int lEngineThreads) = IDTSPipeline90::EngineThreads::set;
}
J# 支持显式接口实现的使用,但不支持新接口实现的声明。
JScript 支持显式接口实现的使用,但不支持新接口实现的声明。

属性值

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

备注

已更新的文本:2006 年 7 月 17 日

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 包性能故障排除.

线程安全

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

MainPipeClass Class
MainPipeClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace