Bagikan melalui


IDTSForLoop100.Execute Metode

Definisi

Menjalankan aplikasi, kontainer, atau paket sebagai bagian dari alur kerja paket.

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

Parameter

pConnections
IDTSConnections100

Kumpulan Koneksi untuk kontainer.

pVariables
IDTSVariables100

Koleksi Variabel untuk kontainer.

pEvents
IDTSEvents100

Antarmuka IDTSEvents untuk menaikkan peristiwa.

pLog
IDTSLogging100

Antarmuka IDTSLogging.

pTransaction
Object

objek transaksi yang merupakan bagian dari kontainer, tergantung pada nilai yang ditemukan di properti TransactionOption.

Mengembalikan

Hasil dari eksekusi.

Penerapan

Atribut

Berlaku untuk