Compartir a través de


DefaultEvents.OnVariableValueChanged Método

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public Overridable Sub OnVariableValueChanged ( _
    DtsContainer As DtsContainer, _
    variable As Variable, _
    ByRef fireAgain As Boolean _
)
'Uso
Dim instance As DefaultEvents 
Dim DtsContainer As DtsContainer 
Dim variable As Variable 
Dim fireAgain As Boolean

instance.OnVariableValueChanged(DtsContainer, _
    variable, fireAgain)
public virtual void OnVariableValueChanged(
    DtsContainer DtsContainer,
    Variable variable,
    ref bool fireAgain
)
public:
virtual void OnVariableValueChanged(
    DtsContainer^ DtsContainer, 
    Variable^ variable, 
    bool% fireAgain
)
abstract OnVariableValueChanged : 
        DtsContainer:DtsContainer * 
        variable:Variable * 
        fireAgain:bool byref -> unit  
override OnVariableValueChanged : 
        DtsContainer:DtsContainer * 
        variable:Variable * 
        fireAgain:bool byref -> unit
public function OnVariableValueChanged(
    DtsContainer : DtsContainer, 
    variable : Variable, 
    fireAgain : boolean
)

Parámetros

  • fireAgain
    Tipo: System.Boolean%
    A Boolean that indicates whether this should continue firing or stop firing. A value of true indicates that it should continue firing.

Implementa

IDTSEvents.OnVariableValueChanged(DtsContainer, Variable, Boolean%)

Comentarios

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.

Vea también

Referencia

DefaultEvents Clase

Espacio de nombres Microsoft.SqlServer.Dts.Runtime