Partager via


MainPipeClass.EngineThreads Property

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

Espace de noms: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntaxe

'Déclaration
<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# prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface explicites.
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface explicites.

Valeur de propriété

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

Notes

Texte mis à jour :17 juillet 2006

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 Dépannage des performances du package.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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