DefaultEvents.OnVariableValueChanged Method (DtsContainer, Variable, Boolean)


This event is used by the Integration Services run-time. It is not called by tasks.

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public virtual void OnVariableValueChanged(
	DtsContainer DtsContainer,
	Variable variable,
	ref bool fireAgain


Type: Microsoft.SqlServer.Dts.Runtime.DtsContainer

The task.

Type: Microsoft.SqlServer.Dts.Runtime.Variable

The variable that has changed.

Type: System.Boolean

A Boolean that indicates whether this should continue firing or stop firing. A value of true indicates that it should continue firing.

This event is called by variables whenever their value is changed. OnVariableValueChanged should not be called by tasks, because it is raised by the run-time engine by the variables. If a task calls OnVariableValueChanged, the method will return success but no event handler will be executed.

Return to top