Sdílet prostřednictvím


PackageNeutralClass.Execute Method

Definition

Runs the package.

Overloads

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

Runs the application, container, or package as part of a package workflow.

Execute()

Returns a DTSExecResult enumeration that contains information about the success or failure of the package execution.

Remarks

For more information, see Package.

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

Runs the application, container, or package as part of a package workflow.

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

Parameters

pConnections
IDTSConnections100

A collection of connections for the package.

pVariables
IDTSVariables100

A collection of variables for the package.

pEvents
IDTSEvents100

An IDTSEvents100 interface to raise events.

pLog
IDTSLogging100

An IDTSLogging100 interface.

pTransaction
Object

The transaction object that the package is a part of, depending on the value found in the TransactionOption property.

Returns

A DTSExecResult enumeration that indicates the outcome of the execution.

Implements

Remarks

For more information, see Package.

Applies to

Execute()

Returns a DTSExecResult enumeration that contains information about the success or failure of the package execution.

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

Returns

A DTSExecResult enumeration that contains information about the success or failure of the package execution.

Implements

Remarks

For more information, see Package.

Applies to