ForEachLoopClass.Execute 方法

定义

执行可执行文件。

public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSExecResult Execute(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::Object ^ pTransaction) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExecutable100::Execute;
[System.Runtime.InteropServices.DispId(5)]
public virtual Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult Execute (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, object pTransaction);
[<System.Runtime.InteropServices.DispId(5)>]
abstract member Execute : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 * obj -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
override this.Execute : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 * obj -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
Public Overridable Function Execute (pConnections As IDTSConnections100, pVariables As IDTSVariables100, pEvents As IDTSEvents100, pLog As IDTSLogging100, pTransaction As Object) As DTSExecResult

参数

pConnections
IDTSConnections100

一个 IDTSConnections100 集合。

pVariables
IDTSVariables100

一个 IDTSVariables100 集合。

pEvents
IDTSEvents100

一个用来引发事件的 IDTSEvents100 接口。

pLog
IDTSLogging100

一个 IDTSLogging100 接口。

pTransaction
Object

指向事务类型的句柄(如果参与事务)。 此值可为 NULL。

返回

DTSExecResult 枚举的枚举值之一,它指示运行可执行文件是成功还是失败或其他状态。

实现

属性

适用于