Compartir a través de


IDTSTaskCreator100.CreateTask Método

Definición

Crea una tarea.

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

Moniker para la tarea.

bstrTaskData
String

Datos de la tarea.

pBreakpointManager
IDTSBreakpointManager100

El administrador de puntos de interrupción concreto para esta tarea.

pEvents
IDTSInfoEvents100

Objeto que implementa la interfaz IDTSInfoEvents100 para notificar errores, advertencias o eventos de información.

pdwCancelEvent
UInt32

Identificador para cancelar el evento.

ppTask
IDTSTask100

Tarea que se va a crear.

Se aplica a