Partilhar via


IDTSTask100.Execute Método

Definição

Executa a tarefa.

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

Parâmetros

pConnections
IDTSConnections100

Uma coleção de conexões usada pela tarefa.

pVariableDispenser
IDTSVariableDispenser100

Um objeto para variáveis de bloqueio.

pEvents
IDTSComponentEvents100

Implementa a interface IDTSComponentEvents100.

pLog
IDTSLogging100

Implementa a interface IDTSLogging100.

vTransaction
Object

Os objetos de transação dos quais o contêiner faz parte.

Retornos

Um valor da enumeração DTSExecResult.

Atributos

Comentários

Para obter mais informações, consulte Task.

Aplica-se a