Share via


IDTSTaskInit100.InitializeTask Método

Definição

Inicializa as propriedades associadas à tarefa. Esse método é chamado pelo runtime e não é usado em 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

Uma coleção de conexões usada pela tarefa.

pVariableDispenser
IDTSVariableDispenser100

Um objeto IDTSVariableDispenser100 para variáveis de bloqueio.

pEvents
IDTSInfoEvents100

Um objeto que implementa a interface do IDTSInfoEvents100.

pLog
IDTSLogging100

Um objeto que implementa a interface do IDTSLogging100.

pEventInfos
IDTSEventInfos100

Uma coleção que contém eventos a serem gerados durante a execução da tarefa.

pLogEntryInfos
IDTSLogEntryInfos100

Uma coleção de entradas de log.

pRefTracker
IDTSObjectReferenceTracker100

Um controlador de referência de objeto.

Atributos

Comentários

Para obter mais informações, consulte Task.

Aplica-se a