共用方式為


IDTSEvents.OnPreValidate 方法

Called when the actual 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 中)

語法

'宣告
Sub OnPreValidate ( _
    exec As Executable, _
    ByRef fireAgain As Boolean _
)
'用途
Dim instance As IDTSEvents 
Dim exec As Executable 
Dim fireAgain As Boolean

instance.OnPreValidate(exec, fireAgain)
void OnPreValidate(
    Executable exec,
    ref bool fireAgain
)
void OnPreValidate(
    Executable^ exec, 
    bool% fireAgain
)
abstract OnPreValidate : 
        exec:Executable * 
        fireAgain:bool byref -> unit
function OnPreValidate(
    exec : Executable, 
    fireAgain : boolean
)

參數

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

請參閱

參考

IDTSEvents 介面

Microsoft.SqlServer.Dts.Runtime 命名空間