IDTSTaskInit100.InitializeTask Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Initializes the properties associated with the task. This method is called by the runtime and is not used in code.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Sub InitializeTask ( _
pConnections As IDTSConnections100, _
pVariableDispenser As IDTSVariableDispenser100, _
pEvents As IDTSInfoEvents100, _
pLog As IDTSLogging100, _
pEventInfos As IDTSEventInfos100, _
pLogEntryInfos As IDTSLogEntryInfos100, _
pRefTracker As IDTSObjectReferenceTracker100 _
)
'Usage
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
)
Parameters
- pConnections
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100
A collection of connections used by the task.
- pVariableDispenser
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100
An IDTSVariableDispenser100 object for locking variables.
- pEvents
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100
An object that implements the IDTSInfoEvents100 interface.
- pLog
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100
An object that implements the IDTSLogging100 interface.
- pEventInfos
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventInfos100
A collection that contains events to be raised during execution of the task.
- pLogEntryInfos
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogEntryInfos100
A collection of log entries.
- pRefTracker
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectReferenceTracker100
An object reference tracker.
Remarks
For more information, see Task.