IDTSExecutable100.Validate 方法

定義

透過在執行之前先驗證所有相依性和其他項目的方式,確認可執行檔將成功執行。

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSExecResult Validate(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnections100 ^ pConnections, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariables100 ^ pVariables, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogging100 ^ pLog);
[System.Runtime.InteropServices.DispId(4)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult Validate (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 pConnections, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100 pVariables, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 pEvents, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 pLog);
[<System.Runtime.InteropServices.DispId(4)>]
abstract member Validate : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
Public Function Validate (pConnections As IDTSConnections100, pVariables As IDTSVariables100, pEvents As IDTSEvents100, pLog As IDTSLogging100) As DTSExecResult

參數

pConnections
IDTSConnections100

執行可執行檔。

pVariables
IDTSVariables100

變數集合。

pEvents
IDTSEvents100

引發事件的介面。

pLog
IDTSLogging100

記錄介面。

傳回

DTSExecResult

表示執行可執行檔的結果為成功、失敗或其他狀態。

屬性

適用於