TaskCreator64Class.CreateTask Method (String, String, IDTSBreakpointManager100, IDTSInfoEvents100, UInt32, IDTSTask100)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates a task.

Namespace:   Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

public virtual void CreateTask(
	string bstrMoniker,
	string bstrTaskData,
	IDTSBreakpointManager100 pBreakpointManager,
	IDTSInfoEvents100 pEvents,
	out uint pdwCancelEvent,
	out IDTSTask100 ppTask
)

Parameters

bstrMoniker
Type: System.String

The moniker of the task.

bstrTaskData
Type: System.String

The data of the task.

pBreakpointManager
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointManager100

The breakpoint manager specific for this task.

pEvents
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100

An object that implements the IDTSInfoEvents100 interface.

pdwCancelEvent
Type: System.UInt32

The identifier for cancelling the event.

ppTask
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSTask100

The task to create.

Return to top
Show: