IDTSTaskInit100.InitializeTask 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此 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
物件參考追蹤程式。
- 屬性