OnPreValidate 方法
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.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public Overridable Sub OnPreValidate ( _
exec As Executable, _
ByRef fireAgain As Boolean _
)
用法
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
)
参数
- exec
类型:Microsoft.SqlServer.Dts.Runtime. . :: . .Executable
The task that this is being called on.
- fireAgain
类型:System. . :: . .Boolean%
A Boolean that indicates whether this should continue firing or stop firing. A value of true indicates that it should continue firing.