IDTSPipeline100.RunInOptimizedMode Property

Definition

public:
 property bool RunInOptimizedMode { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(124)]
[get: System.Runtime.InteropServices.DispId(124)]
[set: System.Runtime.InteropServices.DispId(124)]
public bool RunInOptimizedMode { get; set; }
member this.RunInOptimizedMode : bool with get, set
Public Property RunInOptimizedMode As Boolean

Property Value

Boolean

如果数据流任务在优化模式下运行,则为 true ;否则为 falsetrue if the data flow task runs in optimized mode; otherwise, false. 默认值为 trueThe default is true.

Attributes

Remarks

优化模式会从数据流任务的执行计划中删除未使用的列、输出和组件,从而提高性能。Optimized mode improves performance by removing unused columns, outputs, and components from the execution plan of the data flow task.

Note

可以在 Integration Services 项目的项目级别设置具有相同名称 " RunInOptimizedMode" 的属性,以指示在调试过程中数据流任务以优化模式运行。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. 此属性将重写项目中包中数据流任务的RunInOptimizedMode属性。This property overrides the RunInOptimizedMode property of Data Flow tasks in the packages in the project. 默认情况下,项目属性的值为falseThe 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 Data Flow Task.

Applies to