Share via


IDTSTaskInit100.InitializeTask Method

Definition

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

public:
 void InitializeTask(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnections100 ^ pConnections, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariableDispenser100 ^ pVariableDispenser, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSInfoEvents100 ^ pEvents, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogging100 ^ pLog, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEventInfos100 ^ pEventInfos, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogEntryInfos100 ^ pLogEntryInfos, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSObjectReferenceTracker100 ^ pRefTracker);
[System.Runtime.InteropServices.DispId(1610743808)]
public void InitializeTask (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 pConnections, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 pVariableDispenser, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 pEvents, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 pLog, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventInfos100 pEventInfos, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogEntryInfos100 pLogEntryInfos, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectReferenceTracker100 pRefTracker);
[<System.Runtime.InteropServices.DispId(1610743808)>]
abstract member InitializeTask : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventInfos100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogEntryInfos100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectReferenceTracker100 -> unit
Public Sub InitializeTask (pConnections As IDTSConnections100, pVariableDispenser As IDTSVariableDispenser100, pEvents As IDTSInfoEvents100, pLog As IDTSLogging100, pEventInfos As IDTSEventInfos100, pLogEntryInfos As IDTSLogEntryInfos100, pRefTracker As IDTSObjectReferenceTracker100)

Parameters

pConnections
IDTSConnections100

A collection of connections used by the task.

pVariableDispenser
IDTSVariableDispenser100

An IDTSVariableDispenser100 object for locking variables.

pEvents
IDTSInfoEvents100

An object that implements the IDTSInfoEvents100 interface.

pLog
IDTSLogging100

An object that implements the IDTSLogging100 interface.

pEventInfos
IDTSEventInfos100

A collection that contains events to be raised during execution of the task.

pLogEntryInfos
IDTSLogEntryInfos100

A collection of log entries.

pRefTracker
IDTSObjectReferenceTracker100

An object reference tracker.

Attributes

Remarks

For more information, see Task.

Applies to