IDTSTask100.Execute Method

Definition

Runs the task.

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSExecResult Execute(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnections100 ^ pConnections, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariableDispenser100 ^ pVariableDispenser, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSComponentEvents100 ^ pEvents, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogging100 ^ pLog, System::Object ^ vTransaction);
[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.IDTSVariableDispenser100 pVariableDispenser, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSComponentEvents100 pEvents, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 pLog, object vTransaction);
[<System.Runtime.InteropServices.DispId(5)>]
abstract member Execute : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSComponentEvents100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 * obj -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
Public Function Execute (pConnections As IDTSConnections100, pVariableDispenser As IDTSVariableDispenser100, pEvents As IDTSComponentEvents100, pLog As IDTSLogging100, vTransaction As Object) As DTSExecResult

Parameters

pConnections
IDTSConnections100

A collection of connections used by the task.

pVariableDispenser
IDTSVariableDispenser100

The object for locking variables.

pEvents
IDTSComponentEvents100

Implements the IDTSComponentEvents100 interface.

pLog
IDTSLogging100

Implements the IDTSLogging100 interface.

vTransaction
Object

The transaction objects that the container is a part of.

Returns

A value from the DTSExecResult enumeration.

Attributes

Remarks

For more information, see Task.

Applies to