Compartir a través de


OnPreValidate Método

This method is called when the validation logic of the task starts. This event is raised when the validation of the task host or container begins.

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

Sintaxis

'Declaración
Public Overridable Sub OnPreValidate ( _
    exec As Executable, _
    ByRef fireAgain As Boolean _
)
'Uso
Dim instance As DefaultEvents
Dim exec As Executable
Dim fireAgain As Boolean

instance.OnPreValidate(exec, fireAgain)
public virtual void OnPreValidate(
    Executable exec,
    ref bool fireAgain
)
public:
virtual void OnPreValidate(
    Executable^ exec, 
    bool% fireAgain
)
abstract OnPreValidate : 
        exec:Executable * 
        fireAgain:bool byref -> unit 
override OnPreValidate : 
        exec:Executable * 
        fireAgain:bool byref -> unit 
public function OnPreValidate(
    exec : Executable, 
    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. . :: . .OnPreValidate(Executable, Boolean%)

Notas

The calls to OnPreValidate and OnPostValidate identify the validation boundaries of a task.