Compartir a través de


IDTSPipeline100.RunInOptimizedMode Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintaxis

'Declaración
Property RunInOptimizedMode As Boolean 
    Get 
    Set
'Uso
Dim instance As IDTSPipeline100 
Dim value As Boolean 

value = instance.RunInOptimizedMode

instance.RunInOptimizedMode = value
bool RunInOptimizedMode { get; set; }
property bool RunInOptimizedMode {
    bool get ();
    void set (bool value);
}
abstract RunInOptimizedMode : bool with get, set
function get RunInOptimizedMode () : boolean 
function set RunInOptimizedMode (value : boolean)

Valor de la propiedad

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

Comentarios

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

[!NOTA]

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 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 Tarea Flujo de datos.

Vea también

Referencia

IDTSPipeline100 Interfaz

Espacio de nombres Microsoft.SqlServer.Dts.Pipeline.Wrapper