共用方式為


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