RunInOptimizedMode 属性

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

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Public Overridable Property RunInOptimizedMode As Boolean
    Get
    Set
用法
Dim instance As MainPipeClass
Dim value As Boolean

value = instance.RunInOptimizedMode

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

属性值

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

实现

IDTSPipeline100. . :: . .RunInOptimizedMode

注释

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

注意注意

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 改进数据流的性能.