语言

IDTSTaskInit100.InitializeTask 方法

定义

初始化与任务相关的属性。 该方法由运行时调用,不用于代码中。

public:
 void InitializeTask(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnections100 ^ pConnections, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariableDispenser100 ^ pVariableDispenser, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSInfoEvents100 ^ pEvents, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogging100 ^ pLog, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEventInfos100 ^ pEventInfos, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogEntryInfos100 ^ pLogEntryInfos, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSObjectReferenceTracker100 ^ pRefTracker);
[System.Runtime.InteropServices.DispId(1610743808)]
public void InitializeTask(Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 pConnections, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 pVariableDispenser, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 pEvents, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 pLog, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventInfos100 pEventInfos, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogEntryInfos100 pLogEntryInfos, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectReferenceTracker100 pRefTracker);
[<System.Runtime.InteropServices.DispId(1610743808)>]
abstract member InitializeTask : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventInfos100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogEntryInfos100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectReferenceTracker100 -> unit
Public Sub InitializeTask (pConnections As IDTSConnections100, pVariableDispenser As IDTSVariableDispenser100, pEvents As IDTSInfoEvents100, pLog As IDTSLogging100, pEventInfos As IDTSEventInfos100, pLogEntryInfos As IDTSLogEntryInfos100, pRefTracker As IDTSObjectReferenceTracker100)

参数

pConnections
IDTSConnections100

任务中使用的一系列连接。

pVariableDispenser
IDTSVariableDispenser100

一个 IDTSVariableDispenser100 用于锁定变量的对象。

pEvents
IDTSInfoEvents100

实现 IDTSInfoEvents100 接口的对象。

pLog
IDTSLogging100

实现 IDTSLogging100 接口的对象。

pEventInfos
IDTSEventInfos100

一个包含任务执行过程中要触发的事件的集合。

pLogEntryInfos
IDTSLogEntryInfos100

一组日志条目。

pRefTracker
IDTSObjectReferenceTracker100

一个物体参考追踪器。

属性

注解

有关详细信息,请参阅 Task

适用于