Udostępnij przez


IDTSTaskCreator100.CreateTask Method

This method supports the SQL Server 2008 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

'Deklaracja
Sub CreateTask ( _
    <InAttribute> bstrMoniker As String, _
    <InAttribute> bstrTaskData As String, _
    <InAttribute> pBreakpointManager As IDTSBreakpointManager100, _
    <InAttribute> pEvents As IDTSInfoEvents100, _
    <OutAttribute> ByRef pdwCancelEvent As UInteger, _
    <OutAttribute> ByRef ppTask As IDTSTask100 _
)
void CreateTask (
    [InAttribute] string bstrMoniker,
    [InAttribute] string bstrTaskData,
    [InAttribute] IDTSBreakpointManager100 pBreakpointManager,
    [InAttribute] IDTSInfoEvents100 pEvents,
    out uint pdwCancelEvent,
    out IDTSTask100 ppTask
)
void CreateTask (
    [InAttribute] String^ bstrMoniker, 
    [InAttribute] String^ bstrTaskData, 
    [InAttribute] IDTSBreakpointManager100^ pBreakpointManager, 
    [InAttribute] IDTSInfoEvents100^ pEvents, 
    [OutAttribute] unsigned int% pdwCancelEvent, 
    [OutAttribute] IDTSTask100^% ppTask
)
void CreateTask (
    /** @attribute InAttribute() */ String bstrMoniker, 
    /** @attribute InAttribute() */ String bstrTaskData, 
    /** @attribute InAttribute() */ IDTSBreakpointManager100 pBreakpointManager, 
    /** @attribute InAttribute() */ IDTSInfoEvents100 pEvents, 
    /** @attribute OutAttribute() */ /** @ref */ UInt32 pdwCancelEvent, 
    /** @attribute OutAttribute() */ /** @ref */ IDTSTask100 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.

Target Platforms

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