IDTSExecutable100.Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object) Method

Definition

执行可执行文件。Executes the executable.

public:
 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);
[System.Runtime.InteropServices.DispId(5)]
public 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);
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
Public Function Execute (pConnections As IDTSConnections100, pVariables As IDTSVariables100, pEvents As IDTSEvents100, pLog As IDTSLogging100, pTransaction As Object) As DTSExecResult

Parameters

pConnections
IDTSConnections100

连接的集合。The collection of connections.

pVariables
IDTSVariables100

变量的集合。The collection of variables.

pEvents
IDTSEvents100

引发事件的接口。The interface that raises events.

pLog
IDTSLogging100

日志记录接口。The logging interface.

pTransaction
Object

指向事务类型的句柄(如果参与事务)。The handle to a transaction type if participating in a transaction.

Returns

DTSExecResult

指示运行可执行文件是成功还是失败或其他状态的结果。The result that indicates success, failure, or other status from running the executable.

Attributes

Applies to