共用方式為


IDTSEvents100.OnPreValidate 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

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.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Sub OnPreValidate ( _
    pExec As IDTSExecutable100, _
    ByRef pbFireAgain As Boolean _
)
'用途
Dim instance As IDTSEvents100 
Dim pExec As IDTSExecutable100 
Dim pbFireAgain As Boolean

instance.OnPreValidate(pExec, pbFireAgain)
void OnPreValidate(
    IDTSExecutable100 pExec,
    ref bool pbFireAgain
)
void OnPreValidate(
    [InAttribute] IDTSExecutable100^ pExec, 
    bool% pbFireAgain
)
abstract OnPreValidate : 
        pExec:IDTSExecutable100 * 
        pbFireAgain:bool byref -> unit
function OnPreValidate(
    pExec : IDTSExecutable100, 
    pbFireAgain : boolean
)

參數

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

備註

For more information, see IDTSEvents.

請參閱

參考

IDTSEvents100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間