IDTSPackage100.Execute Method

Definition

Returns the information about the success or failure of the package execution.

Overloads

Execute()

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

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

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

Remarks

This interface is implemented by the Package and PackageNeutral interfaces.

Execute()

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

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSExecResult Execute();
[System.Runtime.InteropServices.DispId(49)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult Execute ();
[<System.Runtime.InteropServices.DispId(49)>]
abstract member Execute : unit -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
Public Function Execute () As DTSExecResult

Returns

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

Attributes

Remarks

This interface is implemented by the Package and PackageNeutral interfaces.

Applies to

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

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

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);
[<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
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 for the container.

pVariables
IDTSVariables100

The collection of variables for the container.

pEvents
IDTSEvents100

An interface to raise the events.

pLog
IDTSLogging100

An IDTSLogging100 interface.

pTransaction
Object

The transaction object that the container is a part of.

Returns

A DTSExecResult enumeration that indicates the outcome of the execution.

Implements

Attributes

Remarks

This interface is implemented by the Package and PackageNeutral interfaces.

Applies to