IDTSTaskCreator100.CreateTask Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a task.
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)
Parameters
- bstrMoniker
- String
The moniker for the task.
- bstrTaskData
- String
The data of the task.
- pBreakpointManager
- IDTSBreakpointManager100
The breakpoint manager specific for this task.
- pEvents
- IDTSInfoEvents100
An object that implements the IDTSInfoEvents100 interface to raise errors, warning, or informational events.
- pdwCancelEvent
- UInt32
The identifier for cancelling the event.
- ppTask
- IDTSTask100
The task to create.