PackageClass.IDTSExecutable100_Validate(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過在執行之前先驗證所有相依性和其他項目的方式,確認可執行檔將成功執行。
public:
virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSExecResult IDTSExecutable100_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) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExecutable100::Validate;
public virtual Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult IDTSExecutable100_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);
abstract member IDTSExecutable100_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
override this.IDTSExecutable100_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 Overridable Function IDTSExecutable100_Validate (pConnections As IDTSConnections100, pVariables As IDTSVariables100, pEvents As IDTSEvents100, pLog As IDTSLogging100) As DTSExecResult
參數
- pConnections
- IDTSConnections100
連接的集合。
- pVariables
- IDTSVariables100
變數集合。
- pEvents
- IDTSEvents100
引發事件的 IDTSEvents100 介面。
- pLog
- IDTSLogging100
IDTSLogging100 介面。
傳回
表示執行可執行檔的結果為成功、失敗或其他狀態。
備註
如需詳細資訊,請參閱Package。