Partilhar via


IDTSTaskCreator100.CreateTask Método

Definição

Cria uma tarefa.

public:
 void CreateTask(System::String ^ bstrMoniker, System::String ^ bstrTaskData, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSBreakpointManager100 ^ pBreakpointManager, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSInfoEvents100 ^ pEvents, [Runtime::InteropServices::Out] System::UInt32 % pdwCancelEvent, [Runtime::InteropServices::Out] Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSTask100 ^ % ppTask);
public void CreateTask (string bstrMoniker, string bstrTaskData, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointManager100 pBreakpointManager, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 pEvents, out uint pdwCancelEvent, out Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSTask100 ppTask);
abstract member CreateTask : string * string * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointManager100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 * uint32 * IDTSTask100 -> unit
Public Sub CreateTask (bstrMoniker As String, bstrTaskData As String, pBreakpointManager As IDTSBreakpointManager100, pEvents As IDTSInfoEvents100, ByRef pdwCancelEvent As UInteger, ByRef ppTask As IDTSTask100)

Parâmetros

bstrMoniker
String

O moniker para a tarefa.

bstrTaskData
String

Os dados da tarefa.

pBreakpointManager
IDTSBreakpointManager100

O gerenciador de ponto de interrupção específico para essa tarefa.

pEvents
IDTSInfoEvents100

Um objeto que implementa a interface IDTSInfoEvents100 para gerar erros, avisos ou eventos informativos.

pdwCancelEvent
UInt32

O identificador para cancelar o evento.

ppTask
IDTSTask100

A tarefa a ser criada.

Aplica-se a