Bagikan melalui


ForEachEnumeratorHostClass Kelas

Definisi

Mendefinisikan kelas host untuk ForEachItemEnumeratorClass. Kelas ini tidak dapat diwariskan.

public ref class ForEachEnumeratorHostClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ForEachEnumeratorHost, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSForEachEnumerator100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSObjectHost100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPropertiesProvider100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("6B3B7A95-8AF7-49C8-A46C-6233549B90A9")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ForEachEnumeratorHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachEnumeratorHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachEnumerator100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("333426D4-55B2-464E-A753-6571B77C7389")]
public class ForEachEnumeratorHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachEnumeratorHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachEnumerator100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("DF8B04F8-DC40-4E1D-AA34-2535D6C0D691")]
public class ForEachEnumeratorHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachEnumeratorHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachEnumerator100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("6B3B7A95-8AF7-49C8-A46C-6233549B90A9")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ForEachEnumeratorHostClass = class
    interface ForEachEnumeratorHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSForEachEnumerator100
    interface IDTSPropertiesProvider100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("333426D4-55B2-464E-A753-6571B77C7389")>]
type ForEachEnumeratorHostClass = class
    interface ForEachEnumeratorHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSForEachEnumerator100
    interface IDTSPropertiesProvider100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("DF8B04F8-DC40-4E1D-AA34-2535D6C0D691")>]
type ForEachEnumeratorHostClass = class
    interface ForEachEnumeratorHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSForEachEnumerator100
    interface IDTSPropertiesProvider100
Public Class ForEachEnumeratorHostClass
Implements ForEachEnumeratorHost, IDTSForEachEnumerator100, IDTSObjectHost100, IDTSPropertiesProvider100
Warisan
ForEachEnumeratorHostClass
Atribut
Penerapan

Keterangan

Untuk informasi selengkapnya, lihat ForEachEnumeratorHost.

Konstruktor

ForEachEnumeratorHostClass()

Menginisialisasi instans baru kelas ForEachEnumeratorHostClass.

Properti

CollectionEnumerator

Mendapatkan atau menetapkan Boolean yang menunjukkan apakah enumerator hosting menghitung koleksi objek atau menghitung koleksi koleksi.

CreationName

Mengembalikan string yang digunakan oleh run-time untuk membuat instans ForEachItemEnumeratorClass objek. Properti ini bersifat hanya baca.

DelayValidation

Mendapatkan atau mengatur Boolean yang menunjukkan apakah ForEachItemEnumeratorClass validasi tertunda hingga paket berjalan.

Description

Mendapatkan atau menetapkan deskripsi untuk host.

HostType

Mendapatkan enumerasi yang menjelaskan jenis host yang ForEachItemEnumeratorClass digunakan oleh. Properti ini bersifat hanya baca.

ID

Mengembalikan GUID yang ditetapkan ke host.

InnerObject

Mengembalikan objek dalam host, yang merupakan ForEachItemEnumeratorClass yang sedang dihosting.

Name

Mendapatkan atau menetapkan nama untuk host.

Properties

Mengembalikan koleksi yang IDTSProperties100 berisi IDTSProperty100 objek. Masing-masing IDTSProperty100 memiliki informasi tambahan tentang setiap tugas di ForEachItemEnumeratorClass.

Metode

ComputeExpressions(Boolean)

Menghitung ekspresi dalam koleksi properti.

GetEnumerator(IDTSConnections100, IDTSVariableDispenser100, IDTSInfoEvents100, IDTSLogging100)

Mengembalikan antarmuka IEnumerator untuk digunakan dalam iterasi di ForEachItemEnumeratorClassatas .

GetExpression(String)

Mengembalikan String yang berisi ekspresi untuk properti yang ditentukan. Null berarti tidak ada ekspresi yang ditetapkan.

InitializeForEachEnumerator(IDTSConnections100, IDTSInfoEvents100, IDTSObjectReferenceTracker100)

Menginisialisasi properti yang terkait dengan tugas.

SetExpression(String, String)

Menetapkan ekspresi yang ditentukan ke properti . Tentukan null untuk menghapus ekspresi yang ada dari properti .

Validate(IDTSConnections100, IDTSVariableDispenser100, IDTSInfoEvents100, IDTSLogging100)

Memungkinkan host untuk menentukan apakah ada pengaturan yang tidak valid yang akan mencegah ForEachItemEnumeratorClass keberhasilan eksekusi.

Berlaku untuk