共用方式為


DefaultEvents.OnPreValidate(Executable, Boolean) Method

Definition

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.

public:
 virtual void OnPreValidate(Microsoft::SqlServer::Dts::Runtime::Executable ^ exec, bool % fireAgain);
public virtual void OnPreValidate (Microsoft.SqlServer.Dts.Runtime.Executable exec, ref bool fireAgain);
abstract member OnPreValidate : Microsoft.SqlServer.Dts.Runtime.Executable * bool -> unit
override this.OnPreValidate : Microsoft.SqlServer.Dts.Runtime.Executable * bool -> unit
Public Overridable Sub OnPreValidate (exec As Executable, ByRef fireAgain As Boolean)

Parameters

exec
Executable

The task that this is being called on.

fireAgain
Boolean

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

Implements

Remarks

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

Applies to