共用方式為


IDTSTaskInit100.InitializeTask 方法

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

Initializes the properties associated with the task. This method is called by the runtime and is not used in code.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Sub InitializeTask ( _
    pConnections As IDTSConnections100, _
    pVariableDispenser As IDTSVariableDispenser100, _
    pEvents As IDTSInfoEvents100, _
    pLog As IDTSLogging100, _
    pEventInfos As IDTSEventInfos100, _
    pLogEntryInfos As IDTSLogEntryInfos100, _
    pRefTracker As IDTSObjectReferenceTracker100 _
)
'用途
Dim instance As IDTSTaskInit100 
Dim pConnections As IDTSConnections100 
Dim pVariableDispenser As IDTSVariableDispenser100 
Dim pEvents As IDTSInfoEvents100 
Dim pLog As IDTSLogging100 
Dim pEventInfos As IDTSEventInfos100 
Dim pLogEntryInfos As IDTSLogEntryInfos100 
Dim pRefTracker As IDTSObjectReferenceTracker100

instance.InitializeTask(pConnections, _
    pVariableDispenser, pEvents, pLog, _
    pEventInfos, pLogEntryInfos, pRefTracker)
void InitializeTask(
    IDTSConnections100 pConnections,
    IDTSVariableDispenser100 pVariableDispenser,
    IDTSInfoEvents100 pEvents,
    IDTSLogging100 pLog,
    IDTSEventInfos100 pEventInfos,
    IDTSLogEntryInfos100 pLogEntryInfos,
    IDTSObjectReferenceTracker100 pRefTracker
)
void InitializeTask(
    [InAttribute] IDTSConnections100^ pConnections, 
    [InAttribute] IDTSVariableDispenser100^ pVariableDispenser, 
    [InAttribute] IDTSInfoEvents100^ pEvents, 
    [InAttribute] IDTSLogging100^ pLog, 
    [InAttribute] IDTSEventInfos100^ pEventInfos, 
    [InAttribute] IDTSLogEntryInfos100^ pLogEntryInfos, 
    [InAttribute] IDTSObjectReferenceTracker100^ pRefTracker
)
abstract InitializeTask : 
        pConnections:IDTSConnections100 * 
        pVariableDispenser:IDTSVariableDispenser100 * 
        pEvents:IDTSInfoEvents100 * 
        pLog:IDTSLogging100 * 
        pEventInfos:IDTSEventInfos100 * 
        pLogEntryInfos:IDTSLogEntryInfos100 * 
        pRefTracker:IDTSObjectReferenceTracker100 -> unit
function InitializeTask(
    pConnections : IDTSConnections100, 
    pVariableDispenser : IDTSVariableDispenser100, 
    pEvents : IDTSInfoEvents100, 
    pLog : IDTSLogging100, 
    pEventInfos : IDTSEventInfos100, 
    pLogEntryInfos : IDTSLogEntryInfos100, 
    pRefTracker : IDTSObjectReferenceTracker100
)

參數

備註

For more information, see Task.

請參閱

參考

IDTSTaskInit100 介面

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