ForEachLoopClass Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menyediakan kontainer yang mendefinisikan alur kerja berulang dalam paket menggunakan pernyataan iterasi foreach.
public ref class ForEachLoopClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ForEachLoop, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSBreakpointSite100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSContainer100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEventsProvider100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExecutionMetrics100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSForEachLoop100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSName100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPersist100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPropertiesProvider100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSRuntimeObject100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSSequence100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("C2DA94B4-782A-4F02-8532-B79F2F17EF2C")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ForEachLoopClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachLoop, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachLoop100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("8D9B72A5-CF6C-43F6-810D-BA54BE7CDF5A")]
public class ForEachLoopClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachLoop, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachLoop100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("B4239650-285C-4F45-8F7B-759C3009A565")]
public class ForEachLoopClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachLoop, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachLoop100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("C2DA94B4-782A-4F02-8532-B79F2F17EF2C")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ForEachLoopClass = class
interface IDTSExecutable100
interface ForEachLoop
interface IDTSForEachLoop100
interface IDTSContainer100
interface IDTSSequence100
interface IDTSEventsProvider100
interface IDTSExecutionMetrics100
interface IDTSPropertiesProvider100
interface IDTSBreakpointSite100
interface IDTSSuspend100
interface IDTSPersist100
interface IDTSRuntimeObject100
interface IDTSName100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("8D9B72A5-CF6C-43F6-810D-BA54BE7CDF5A")>]
type ForEachLoopClass = class
interface IDTSExecutable100
interface ForEachLoop
interface IDTSForEachLoop100
interface IDTSContainer100
interface IDTSSequence100
interface IDTSEventsProvider100
interface IDTSExecutionMetrics100
interface IDTSPropertiesProvider100
interface IDTSBreakpointSite100
interface IDTSSuspend100
interface IDTSPersist100
interface IDTSRuntimeObject100
interface IDTSName100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("B4239650-285C-4F45-8F7B-759C3009A565")>]
type ForEachLoopClass = class
interface IDTSExecutable100
interface ForEachLoop
interface IDTSForEachLoop100
interface IDTSContainer100
interface IDTSSequence100
interface IDTSEventsProvider100
interface IDTSExecutionMetrics100
interface IDTSPropertiesProvider100
interface IDTSBreakpointSite100
interface IDTSSuspend100
interface IDTSPersist100
interface IDTSRuntimeObject100
interface IDTSName100
Public Class ForEachLoopClass
Implements ForEachLoop, IDTSBreakpointSite100, IDTSContainer100, IDTSEventsProvider100, IDTSExecutionMetrics100, IDTSForEachLoop100, IDTSName100, IDTSPersist100, IDTSPropertiesProvider100, IDTSRuntimeObject100, IDTSSequence100
- Warisan
-
ForEachLoopClass
- Atribut
- Penerapan
Konstruktor
| ForEachLoopClass() |
Menginisialisasi instans baru kelas ForEachLoopClass. |
Properti
| CreationName |
Mengembalikan string yang digunakan untuk membuat instans ForEachLoopClass objek. Properti ini bersifat hanya baca. |
| DebugMode |
Mendapatkan atau mengatur Boolean yang menunjukkan apakah ForEachLoopClass objek berada dalam mode debug dan apakah itu harus menembakkan OnBreakpointHit(IDTSBreakpointSite100, IDTSBreakpointTarget100) peristiwa saat berjalan. |
| DelayValidation |
Mendapatkan atau mengatur Boolean yang menunjukkan apakah validasi tugas tertunda hingga durasi. Nilai defaultnya adalah false. |
| Description |
Mendapatkan atau mengatur deskripsi ForEachLoopClass objek. |
| Disable |
Mendapatkan Boolean yang menunjukkan apakah objek dinonaktifkan ForEachLoopClass . |
| DisableEventHandlers |
Mendapatkan Boolean yang menunjukkan apakah penanganan aktivitas pada tugas dinonaktifkan. |
| EventHandlers |
Mendapatkan kumpulan objek penanganan aktivitas. Bidang ini hanya-baca. |
| EventInfos |
Mendapatkan koleksi IDTSEventInfo100 objek. Bidang ini hanya-baca. |
| Executables |
Mendapatkan kumpulan objek yang dapat dieksekusi. |
| ExecutionDuration |
Mengembalikan nilai yang menunjukkan jumlah waktu yang dihabiskan kontainer dalam eksekusi, dalam milidetik. Properti ini bersifat hanya baca. |
| ExecutionResult |
Mengembalikan nilai yang menunjukkan keberhasilan atau kegagalan eksekusi ForEachLoopClass objek. |
| ExecutionStatus |
Mengembalikan nilai yang menunjukkan status eksekusi ForEachLoopClass objek saat ini pada saat panggilan. |
| FailPackageOnFailure |
Mendapatkan atau mengatur Boolean yang menunjukkan apakah paket gagal ketika kontainer anak gagal. |
| FailParentOnFailure |
Mendapatkan atau mengatur Boolean yang menentukan apakah kontainer induk gagal saat kontainer turunan gagal. |
| ForcedExecutionValue |
ForceExecutionValue Jika properti diatur ke true, mendapatkan atau menetapkan nilai yang menentukan nilai eksekusi opsional yang dikembalikan paket. |
| ForceExecutionResult |
Mendapatkan atau menetapkan DTSExecResult nilai enumerasi yang menentukan hasil eksekusi paksa kontainer. |
| ForceExecutionValue |
Mendapatkan atau menetapkan Boolean yang menunjukkan apakah nilai eksekusi kontainer harus dipaksa untuk berisi nilai tertentu. |
| ForEachEnumerator |
Mendapatkan atau mengatur host untuk IDTSForEachEnumerator100. |
| ID |
Mendapatkan GUID dari ForEachLoopClass. Nilainya baca-saja. |
| IDTSSuspend100_SuspendRequired |
Mendapatkan atau mengatur Boolean yang menunjukkan apakah tugas harus ditangguhkan saat menemukan titik henti. Nilai ini ditetapkan oleh mesin runtime untuk tugas dan kontainer saat titik henti ditemui. |
| IsDefaultLocaleID |
Boolean yang menunjukkan apakah kontainer menggunakan lokal default. Properti ini bersifat hanya baca. |
| IsolationLevel |
Mendapatkan atau mengatur tingkat isolasi transaksi dalam ForEachLoopClass objek. |
| LocaleID |
Mendapatkan atau mengatur Bilangan Bulat yang menunjukkan localeID Microsoft Win32® untuk digunakan saat ForEachLoopClass objek dijalankan. |
| LogEntryInfos |
IDTSLogEntryInfos100 Mendapatkan objek untuk kontainer. Properti ini bersifat hanya baca. |
| LoggingMode |
Mendapatkan atau menetapkan nilai yang valid dari DTSLoggingMode enumerasi yang menunjukkan mode pengelogan kontainer. |
| LoggingOptions |
Mendapatkan objek yang berisi properti yang menunjukkan pemfilteran dan pengelogan sumber daya untuk kontainer. Properti ini bersifat hanya baca. |
| MaximumErrorCount |
Mendapatkan atau mengatur nilai Bilangan Bulat yang menunjukkan jumlah maksimum kesalahan yang dapat terjadi sebelum ForEachLoopClass objek berhenti berjalan. |
| Name |
Mendapatkan atau mengatur nama ForEachLoopClass. |
| Parent |
Mendapatkan kontainer induk. Nilainya baca-saja. |
| PrecedenceConstraints |
IDTSPrecedenceConstraints100 Mendapatkan koleksi yang berisi semua batasan prioritas yang terkait dengan ForEachLoop. |
| Properties |
Mengembalikan kumpulan IDTSProperty100 objek yang terkait dengan ForEachLoop. |
| StartTime |
Mendapatkan waktu kontainer memulai eksekusi. Properti ini bersifat hanya baca. |
| StopTime |
Mendapatkan waktu kontainer mengakhiri eksekusi. Properti ini bersifat hanya baca. |
| SuspendRequired |
Mendapatkan atau mengatur Boolean yang menunjukkan apakah tugas harus ditangguhkan saat menemukan titik henti. Nilai ini ditetapkan oleh mesin runtime untuk tugas dan kontainer saat titik henti ditemui. |
| TransactionOption |
Mendapatkan atau menetapkan DTSTransactionOption nilai enumerasi yang menunjukkan apakah kontainer berpartisipasi dalam transaksi. |
| VariableDispenser |
IDTSVariableDispenser100 Mendapatkan objek sehingga variabel yang terkait dengan kontainer dapat dikunci. |
| VariableMappings |
IDTSForEachVariableMappings100 Mendapatkan koleksi yang berisi pemetaan variabel untuk ForEachLoop. |
| Variables |
Mengembalikan koleksi yang berisi variabel yang terkait dengan kontainer ini. Properti ini bersifat hanya baca. |
Metode
| AcceptBreakpointManager(IDTSBreakpointManager100) |
IDTSBreakpointManager100 Menerima manajer, yang dipanggil oleh mesin run-time saat tugas atau kontainer dibuat, untuk memungkinkan tugas membuat, menghapus, dan memeriksa status titik henti. Metode ini dipanggil oleh runtime dan tidak digunakan dalam kode. |
| ComputeExpressions(Boolean) |
Menghitung ekspresi dalam koleksi properti. |
| Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object) |
Menjalankan executable. |
| GetExpression(String) |
Mengembalikan String yang berisi ekspresi untuk properti yang ditentukan. Null berarti tidak ada ekspresi yang ditetapkan. |
| GetParentID() |
Mendapatkan ID kontainer induk. |
| IDTSForEachLoop100_Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object) |
Menjalankan executable. |
| IDTSForEachLoop100_Validate(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100) |
Verifikasi bahwa executable akan berhasil dijalankan dengan memvalidasi semua dependensinya dan item lainnya sebelum mengeksekusinya. |
| IDTSSuspend100_get_SuspendRequired() |
Menyediakan kontainer yang mendefinisikan alur kerja berulang dalam paket menggunakan pernyataan iterasi foreach. |
| IDTSSuspend100_ResumeExecution() |
Melanjutkan eksekusi tugas setelah jeda. Tugas atau kontainer dilanjutkan oleh mesin runtime. |
| IDTSSuspend100_set_SuspendRequired(Boolean) |
Menyediakan kontainer yang mendefinisikan alur kerja berulang dalam paket menggunakan pernyataan iterasi foreach. |
| IDTSSuspend100_SuspendExecution() |
Menunjukkan bahwa executable perlu ditangguhkan. Metode ini dipanggil oleh mesin runtime. |
| LoadFromXML(Object, IDTSEvents100) |
Memuat data yang disimpan dalam format XML. |
| RegenerateID() |
Untuk informasi selengkapnya, lihat ForEachLoop. |
| ResumeExecution() |
Melanjutkan eksekusi tugas setelah jeda. Tugas atau kontainer dilanjutkan oleh mesin runtime. |
| SaveToXML(Object, Object, IDTSEvents100) |
Menyimpan informasi ke dokumen XML. |
| SetExpression(String, String) |
Menetapkan ekspresi yang ditentukan ke properti . Tentukan null untuk menghapus ekspresi yang ada dari properti . |
| SuspendExecution() |
Menunjukkan bahwa executable perlu ditangguhkan. Metode ini dipanggil oleh mesin runtime. |
| Validate(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100) |
Verifikasi bahwa executable akan berhasil dijalankan dengan memvalidasi semua dependensinya dan item lainnya sebelum mengeksekusinya. |