Condividi tramite


IDTSPipeline90.EngineThreads Property

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

Spazio dei nomi: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly : Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Sintassi

'Dichiarazione
<DispIdAttribute(125)> _
Property EngineThreads As Integer
[DispIdAttribute(125)] 
int EngineThreads { get; set; }
[DispIdAttribute(125)] 
property int EngineThreads {
    int get ();
    void set ([InAttribute] int lEngineThreads);
}
/** @property */
/** @attribute DispIdAttribute(125) */ 
int get_EngineThreads ()

/** @property */
/** @attribute DispIdAttribute(125) */ 
void set_EngineThreads (/** @attribute InAttribute() */ int lEngineThreads)
DispIdAttribute(125) 
function get EngineThreads () : int

DispIdAttribute(125) 
function set EngineThreads (lEngineThreads : int)

Valore proprietà

An integer that specifies the number of threads that the data flow task can use during execution.

Osservazioni

Testo aggiornato:17 luglio 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 Risoluzione dei problemi delle prestazioni dei pacchetti.

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

IDTSPipeline90 Interface
IDTSPipeline90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace