TaskCreatorClass.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)

语法

声明
Public Overridable 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 _
) Implements IDTSTaskCreator90.CreateTask
public virtual void IDTSTaskCreator90.CreateTask (
    [InAttribute] string bstrMoniker,
    [InAttribute] string bstrTaskData,
    [InAttribute] IDTSBreakpointManager90 pBreakpointManager,
    [InAttribute] IDTSInfoEvents90 pEvents,
    out uint pdwCancelEvent,
    out IDTSTask90 ppTask
)
public:
virtual void CreateTask (
    [InAttribute] String^ bstrMoniker, 
    [InAttribute] String^ bstrTaskData, 
    [InAttribute] IDTSBreakpointManager90^ pBreakpointManager, 
    [InAttribute] IDTSInfoEvents90^ pEvents, 
    [OutAttribute] unsigned int% pdwCancelEvent, 
    [OutAttribute] IDTSTask90^% ppTask
) = IDTSTaskCreator90::CreateTask
J# 支持显式接口实现的使用,但不支持新接口实现的声明。
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 的硬件和软件要求。

请参阅

参考

TaskCreatorClass Class
TaskCreatorClass Members
Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace