PackageNeutralClass.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) = 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 接口。

返回

指示运行可执行文件是成功还是失败或其他状态的结果。

适用于