Partilhar via


IDTSTaskCreator90.CreateTask Method

This method supports the SQL Server 2005 infrastructure and is not intended to be used directly from your code.

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

Syntax

'Declaration
Sub CreateTask ( _
    <InAttribute> bstrMoniker As String, _
    <InAttribute> bstrTaskData As String, _
    <InAttribute> pBreakpointManager As IDTSBreakpointManager90, _
    <InAttribute> pEvents As IDTSInfoEvents90, _
    <OutAttribute> ByRef pdwCancelEvent As UInteger, _
    <OutAttribute> ByRef ppTask As IDTSTask90 _
)
void CreateTask (
    [InAttribute] string bstrMoniker,
    [InAttribute] string bstrTaskData,
    [InAttribute] IDTSBreakpointManager90 pBreakpointManager,
    [InAttribute] IDTSInfoEvents90 pEvents,
    out uint pdwCancelEvent,
    out IDTSTask90 ppTask
)
void CreateTask (
    [InAttribute] String^ bstrMoniker, 
    [InAttribute] String^ bstrTaskData, 
    [InAttribute] IDTSBreakpointManager90^ pBreakpointManager, 
    [InAttribute] IDTSInfoEvents90^ pEvents, 
    [OutAttribute] unsigned int% pdwCancelEvent, 
    [OutAttribute] IDTSTask90^% ppTask
)
void CreateTask (
    /** @attribute InAttribute() */ String bstrMoniker, 
    /** @attribute InAttribute() */ String bstrTaskData, 
    /** @attribute InAttribute() */ IDTSBreakpointManager90 pBreakpointManager, 
    /** @attribute InAttribute() */ IDTSInfoEvents90 pEvents, 
    /** @attribute OutAttribute() */ /** @ref */ UInt32 pdwCancelEvent, 
    /** @attribute OutAttribute() */ /** @ref */ IDTSTask90 ppTask
)
JScript does not support passing value-type arguments by reference.

Parameters

  • bstrMoniker
  • bstrTaskData
  • pBreakpointManager
  • pEvents
  • pdwCancelEvent
  • ppTask

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IDTSTaskCreator90 Interface
IDTSTaskCreator90 Members
Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace