Partager via


IDTSPipeline90.RunInOptimizedMode Property

Gets or sets a value that specifies whether the data flow task runs in optimized mode.

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

Syntaxe

'Déclaration
<DispIdAttribute(124)> _
Property RunInOptimizedMode As Boolean
[DispIdAttribute(124)] 
bool RunInOptimizedMode { get; set; }
[DispIdAttribute(124)] 
property bool RunInOptimizedMode {
    bool get ();
    void set ([InAttribute] bool pbRunInOptimizedMode);
}
/** @property */
/** @attribute DispIdAttribute(124) */ 
boolean get_RunInOptimizedMode ()

/** @property */
/** @attribute DispIdAttribute(124) */ 
void set_RunInOptimizedMode (/** @attribute InAttribute() */ boolean pbRunInOptimizedMode)
DispIdAttribute(124) 
function get RunInOptimizedMode () : boolean

DispIdAttribute(124) 
function set RunInOptimizedMode (pbRunInOptimizedMode : boolean)

Valeur de propriété

true if the data flow task runs in optimized mode; otherwise, false. The default is true.

Notes

Texte mis à jour :17 juillet 2006

Optimized mode improves performance by removing unused columns, outputs, and components from the execution plan of the data flow task.

ms200249.note(fr-fr,SQL.90).gifRemarque :
A property with the same name, RunInOptimizedMode, can be set at the project level of an Integration Services project to indicate that the Data Flow task runs in optimized mode during debugging. This property overrides the RunInOptimizedMode property of Data Flow tasks in the packages in the project. The value of the project property is False by default.

For a brief discussion of 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

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