MainPipeClass.RunInOptimizedMode Property

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

命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

语法

声明
<DispIdAttribute(124)> _
Public Overridable Property RunInOptimizedMode As Boolean Implements IDTSPipeline90.RunInOptimizedMode
[DispIdAttribute(124)] 
public virtual bool IDTSPipeline90.RunInOptimizedMode { get; set; }
[DispIdAttribute(124)] 
public:
virtual property bool RunInOptimizedMode {
    bool get () = IDTSPipeline90::RunInOptimizedMode::get;
    void set ([InAttribute] bool pbRunInOptimizedMode) = IDTSPipeline90::RunInOptimizedMode::set;
}
J# 支持显式接口实现的使用,但不支持新接口实现的声明。
JScript 支持显式接口实现的使用,但不支持新接口实现的声明。

属性值

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

备注

已更新的文本:2006 年 7 月 17 日

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

ms200644.note(zh-cn,SQL.90).gif注意:
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 包性能故障排除.

线程安全

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

MainPipeClass Class
MainPipeClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace