IDTSOutput100.HasSideEffects 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
property bool HasSideEffects { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(107)]
public bool HasSideEffects { [System.Runtime.InteropServices.DispId(107)] get; [System.Runtime.InteropServices.DispId(107)] set; }
[<System.Runtime.InteropServices.DispId(107)>]
[<get: System.Runtime.InteropServices.DispId(107)>]
[<set: System.Runtime.InteropServices.DispId(107)>]
member this.HasSideEffects : bool with get, set
Public Property HasSideEffects As Boolean
属性值
如果组件执行对数据流引擎不可见的自定义操作,则为 true;否则为 false。
- 属性
注解
将 的 IDTSOutput100 HasSideEffects 属性设置为 true 时,向数据流引擎指示输出所属的组件执行引擎不可见的自定义操作。 因此,当数据流任务的 RunInOptimizedMode 属性为 true 时,不会从执行计划中删除该组件。
例如,源组件没有输入,因此,如果其输出的 HasSideEffects 属性不 为 true,数据流引擎可能会断定源未执行任何操作,并将其从执行计划中删除。
在没有输出) 的目标组件 (,的 属性将始终为 true,而 的 HasSideEffects 属性IDTSOutput100在源组件 (没有输入) 时始终为 true。HasSideEffectsIDTSInput100 转换组件上的这两个属性通常为 false 。
但是, HasSideEffects RowCount 转换的输入属性设置为 true。 因此,RowCount 不需要将其输出附加到下游组件。 因此,它可以在包调试期间用作临时目标,而无需保存任何数据。