IDTSTaskInit100.InitializeTask 方法

定义

此 API 支持产品基础结构,不应在代码中直接使用。 初始化与该任务相关联的属性。 此方法由运行时调用,在代码中未使用。

public:
 void InitializeTask(Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSConnections100 ^ pConnections, Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSVariableDispenser100 ^ pVariableDispenser, Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSInfoEvents100 ^ pEvents, Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSLogging100 ^ pLog, Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSEventInfos100 ^ pEventInfos, Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSLogEntryInfos100 ^ pLogEntryInfos, Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSObjectReferenceTracker100 ^ pRefTracker);
[System.Runtime.InteropServices.DispId(1610743808)]
public void InitializeTask (Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSConnections100 pConnections, Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSVariableDispenser100 pVariableDispenser, Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSInfoEvents100 pEvents, Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSLogging100 pLog, Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSEventInfos100 pEventInfos, Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSLogEntryInfos100 pLogEntryInfos, Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSObjectReferenceTracker100 pRefTracker);
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

一个对象引用跟踪器。

属性

适用于