IDTSTaskCreator90.CreateTask Method

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

命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap (in microsoft.sqlserver.dtsruntimewrap.dll)

语法

声明
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 不支持由引用传递值类型参数。

参数

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

线程安全

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

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