共用方式為


MainPipeClass.RunInOptimizedMode Property

Definition

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

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

Property Value

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

Implements

Attributes

Remarks

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

Note

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 Data Flow Performance Features.

Applies to