TransferErrorMessagesTask.InitializeTask Method
Initializes the properties associated with the task. This method is called by the runtime and is not used in code.
Namespace: Microsoft.SqlServer.Dts.Tasks.TransferErrorMessagesTask
Assembly: Microsoft.SqlServer.TransferErrorMessagesTask (in microsoft.sqlserver.transfererrormessagestask.dll)
Syntax
'Declaration
Public Overrides Sub InitializeTask ( _
connections As Connections, _
variableDispenser As VariableDispenser, _
events As IDTSInfoEvents, _
log As IDTSLogging, _
eventInfos As EventInfos, _
logEntryInfos As LogEntryInfos, _
refTracker As ObjectReferenceTracker _
)
public override void InitializeTask (
Connections connections,
VariableDispenser variableDispenser,
IDTSInfoEvents events,
IDTSLogging log,
EventInfos eventInfos,
LogEntryInfos logEntryInfos,
ObjectReferenceTracker refTracker
)
public:
virtual void InitializeTask (
Connections^ connections,
VariableDispenser^ variableDispenser,
IDTSInfoEvents^ events,
IDTSLogging^ log,
EventInfos^ eventInfos,
LogEntryInfos^ logEntryInfos,
ObjectReferenceTracker^ refTracker
) override
public void InitializeTask (
Connections connections,
VariableDispenser variableDispenser,
IDTSInfoEvents events,
IDTSLogging log,
EventInfos eventInfos,
LogEntryInfos logEntryInfos,
ObjectReferenceTracker refTracker
)
public override function InitializeTask (
connections : Connections,
variableDispenser : VariableDispenser,
events : IDTSInfoEvents,
log : IDTSLogging,
eventInfos : EventInfos,
logEntryInfos : LogEntryInfos,
refTracker : ObjectReferenceTracker
)
Parameters
- connections
A collection of connections used by the task.
- variableDispenser
A VariableDispenser object for locking variables.
- events
An object that implements the IDTSInfoEvents interface.
- log
A LogEntryInfos collection.
- eventInfos
A collection that contains events to be raised during execution of the task.
- logEntryInfos
A collection of log entries.
- refTracker
An object reference tracker.
Remarks
This method is used to set the log events for the TransferErrorMessagesTask and all other stock tasks. The run-time engine calls InitializeTask immediately after the task is created, before validation, execution, or persistence operations.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
TransferErrorMessagesTask Class
TransferErrorMessagesTask Members
Microsoft.SqlServer.Dts.Tasks.TransferErrorMessagesTask Namespace