Compartir a través de


IDTSTaskInit100.InitializeTask Método

Definición

Inicializa las propiedades asociadas a la tarea. El motor en tiempo de ejecución llama a este método, que no se usa en el código.

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)

Parámetros

pConnections
IDTSConnections100

Una colección de conexiones utilizadas por la tarea.

pVariableDispenser
IDTSVariableDispenser100

Objeto IDTSVariableDispenser100 para bloquear variables.

pEvents
IDTSInfoEvents100

Objeto que implementa la interfaz IDTSInfoEvents100.

pLog
IDTSLogging100

Objeto que implementa la interfaz IDTSLogging100.

pEventInfos
IDTSEventInfos100

Una colección que contiene eventos que se van a generar durante la ejecución de la tarea.

pLogEntryInfos
IDTSLogEntryInfos100

Una colección de entradas de registro.

pRefTracker
IDTSObjectReferenceTracker100

Un rastreador de referencias de objetos.

Atributos

Comentarios

Para obtener más información, vea Task.

Se aplica a