语言

PackageClass.Execute 方法

定义

负责执行整个流程。

重载

名称 说明
Execute()

返回 DTSExecResult 包含包执行成功或失败信息的枚举。

Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object)

将应用程序、容器或包作为包工作流的一部分运行。

注解

有关详细信息,请参阅 Package

Execute()

返回 DTSExecResult 包含包执行成功或失败信息的枚举。

public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSExecResult Execute() = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100::Execute;
public virtual Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult Execute();
abstract member Execute : unit -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
override this.Execute : unit -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
Public Overridable Function Execute () As DTSExecResult

返回

包含 DTSExecResult 包成功或失败信息的枚举。

实现

注解

有关详细信息,请参阅 Package

适用于

Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object)

将应用程序、容器或包作为包工作流的一部分运行。

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::IDTSPackage100::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, 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
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

为包裹提供一系列连接。

pVariables
IDTSVariables100

包的一组变量。

pEvents
IDTSEvents100

一个 IDTSEvents100 用来引发事件的界面。

pLog
IDTSLogging100

一个 IDTSLogging100 接口。

pTransaction
Object

该软件包所属的交易对象,取决于属性中的 TransactionOption 值。

返回

一个 DTSExecResult 表示处决结果的枚举。

实现

注解

有关详细信息,请参阅 Package

适用于