Linguaggio

ForEachEnumeratorHostClass Classe

Definizione

Definisce la classe host per il ForEachItemEnumeratorClass. La classe non può essere ereditata.

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
Ereditarietà
ForEachEnumeratorHostClass
Attributi
Implementazioni

Commenti

Per altre informazioni, vedere ForEachEnumeratorHost.

Costruttori

Nome Descrizione
ForEachEnumeratorHostClass()

Inizializza una nuova istanza della classe ForEachEnumeratorHostClass.

Proprietà

Nome Descrizione
CollectionEnumerator

Ottiene o imposta un Booleano che indica se l'enumeratore ospitante sta enumerando collezioni di oggetti o collezioni di collezioni.

CreationName

Restituisce la stringa usata dal runtime per creare un'istanza dell'oggetto ForEachItemEnumeratorClass . Questa proprietà è di sola lettura.

DelayValidation

Ottiene o imposta un Boolean che indica se ForEachItemEnumeratorClass la validazione è ritardata fino all'esecuzione del pacchetto.

Description

Ottiene o stabilisce la descrizione dell'ospite.

HostType

Ottiene un'enumerazione che descrive il tipo di host che sta usando .ForEachItemEnumeratorClass Questa proprietà è di sola lettura.

ID

Restituisce il GUID assegnato all'host.

InnerObject

Restituisce l'oggetto interno dell'ospite, che è quello ForEachItemEnumeratorClass che viene ospitato.

Name

Ottiene o imposta un nome per l'host.

Properties

Restituisce una IDTSProperties100 collezione che contiene IDTSProperty100 oggetti. Ognuno IDTSProperty100 contiene informazioni aggiuntive su ogni compito nel ForEachItemEnumeratorClass.

Metodi

Nome Descrizione
ComputeExpressions(Boolean)

Calcola le espressioni nella collezione di proprietà.

GetEnumerator(IDTSConnections100, IDTSVariableDispenser100, IDTSInfoEvents100, IDTSLogging100)

Restituisce un'interfaccia IEnumerator da usare nell'iterazione sul ForEachItemEnumeratorClass.

GetExpression(String)

Restituisce una stringa che contiene l'espressione per la proprietà specificata. Nullo significa che nessuna espressione viene assegnata.

InitializeForEachEnumerator(IDTSConnections100, IDTSInfoEvents100, IDTSObjectReferenceTracker100)

Inizializza le proprietà associate al compito.

SetExpression(String, String)

Assegna l'espressione specificata alla proprietà. Specificare null per rimuovere un'espressione esistente dalla proprietà.

Validate(IDTSConnections100, IDTSVariableDispenser100, IDTSInfoEvents100, IDTSLogging100)

Permette all'host di determinare se ci sono impostazioni non valide che impediranno l'esecuzione con successo ForEachItemEnumeratorClass .

Si applica a