Metodo IDTSTaskCreator100.CreateTask
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Creates a task.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintassi
'Dichiarazione
Sub CreateTask ( _
bstrMoniker As String, _
bstrTaskData As String, _
pBreakpointManager As IDTSBreakpointManager100, _
pEvents As IDTSInfoEvents100, _
<OutAttribute> ByRef pdwCancelEvent As UInteger, _
<OutAttribute> ByRef ppTask As IDTSTask100 _
)
'Utilizzo
Dim instance As IDTSTaskCreator100
Dim bstrMoniker As String
Dim bstrTaskData As String
Dim pBreakpointManager As IDTSBreakpointManager100
Dim pEvents As IDTSInfoEvents100
Dim pdwCancelEvent As UInteger
Dim ppTask As IDTSTask100
instance.CreateTask(bstrMoniker, bstrTaskData, _
pBreakpointManager, pEvents, pdwCancelEvent, _
ppTask)
void CreateTask(
string bstrMoniker,
string bstrTaskData,
IDTSBreakpointManager100 pBreakpointManager,
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
)
abstract CreateTask :
bstrMoniker:string *
bstrTaskData:string *
pBreakpointManager:IDTSBreakpointManager100 *
pEvents:IDTSInfoEvents100 *
pdwCancelEvent:uint32 byref *
ppTask:IDTSTask100 byref -> unit
function CreateTask(
bstrMoniker : String,
bstrTaskData : String,
pBreakpointManager : IDTSBreakpointManager100,
pEvents : IDTSInfoEvents100,
pdwCancelEvent : uint,
ppTask : IDTSTask100
)
Parametri
- bstrMoniker
Tipo: System.String
The moniker for the task.
- bstrTaskData
Tipo: System.String
The data of the task.
- pBreakpointManager
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointManager100
The breakpoint manager specific for this task.
- pEvents
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100
An object that implements the IDTSInfoEvents100 interface to raise errors, warning, or informational events.
- pdwCancelEvent
Tipo: System.UInt32%
The identifier for cancelling the event.
- ppTask
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSTask100%
The task to create.