Partager via


Classe ForEachEnumeratorHostClass

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Defines the host class for the ForEachItemEnumeratorClass. This class cannot be inherited.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachEnumeratorHostClass

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("3442EA23-18C4-4A00-8ABD-C4157880CAA7")> _
Public Class ForEachEnumeratorHostClass _
    Implements ForEachEnumeratorHost, IDTSName100, IDTSObjectHost100, IDTSForEachEnumerator100,  _
    IDTSPropertiesProvider100
'Utilisation
Dim instance As ForEachEnumeratorHostClass
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("3442EA23-18C4-4A00-8ABD-C4157880CAA7")]
public class ForEachEnumeratorHostClass : ForEachEnumeratorHost, 
    IDTSName100, IDTSObjectHost100, IDTSForEachEnumerator100, IDTSPropertiesProvider100
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[GuidAttribute(L"3442EA23-18C4-4A00-8ABD-C4157880CAA7")]
public ref class ForEachEnumeratorHostClass : ForEachEnumeratorHost, 
    IDTSName100, IDTSObjectHost100, IDTSForEachEnumerator100, IDTSPropertiesProvider100
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<GuidAttribute("3442EA23-18C4-4A00-8ABD-C4157880CAA7")>]
type ForEachEnumeratorHostClass =  
    class 
        interface ForEachEnumeratorHost 
        interface IDTSName100 
        interface IDTSObjectHost100 
        interface IDTSForEachEnumerator100 
        interface IDTSPropertiesProvider100 
    end
public class ForEachEnumeratorHostClass implements ForEachEnumeratorHost, IDTSName100, IDTSObjectHost100, IDTSForEachEnumerator100, IDTSPropertiesProvider100

Le type ForEachEnumeratorHostClass expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ForEachEnumeratorHostClass Infrastructure. Initializes a new instance of the ForEachEnumeratorHostClass class.

Haut de la page

Propriétés

  Nom Description
Propriété publique CollectionEnumerator Infrastructure. Gets or sets a Boolean that indicates if the hosting enumerator is enumerating collections of objects or enumerating collections of collections.
Propriété publique CreationName Infrastructure. Returns the string that is used by the run-time to create an instance of the ForEachItemEnumeratorClass object. This property is read-only.
Propriété publique DelayValidation Infrastructure. Gets or sets a Boolean that indicates whether ForEachItemEnumeratorClass validation is delayed until the package runs.
Propriété publique Description Infrastructure. Gets or sets description for the host.
Propriété publique HostType Infrastructure. Gets an enumeration that describes the type of host that the ForEachItemEnumeratorClass is being used by. This property is read-only.
Propriété publique ID Infrastructure. Returns the GUID assigned to the host.
Propriété publique InnerObject Infrastructure. Returns the inner object of the host, which is the ForEachItemEnumeratorClass that is being hosted.
Propriété publique Name Infrastructure. Gets or sets a name for the host.
Propriété publique Properties Infrastructure. Returns a IDTSProperties100 collection that contains IDTSProperty100 objects. Each IDTSProperty100 has additional information about each task in the ForEachItemEnumeratorClass.

Haut de la page

Méthodes

  Nom Description
Méthode publique ComputeExpressions Infrastructure. Computes the expressions in the property collection.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetEnumerator Infrastructure. Returns an IEnumerator interface for use in iterating over the ForEachItemEnumeratorClass.
Méthode publique GetExpression Infrastructure. Returns a String that contains the expression for the specified property. Null means no expression is assigned.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique InitializeForEachEnumerator Infrastructure. Initializes the properties associated with the task.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique SetExpression Infrastructure. Assigns the specified expression to the property. Specify nullune référence Null (Nothing dans Visual Basic) to remove an existing expression from the property.
Méthode publique ToString (hérité de Object.)
Méthode publique Validate Infrastructure. Allows the host to determine if there are invalid settings that will prevent the ForEachItemEnumeratorClass from executing successfully.

Haut de la page

Notes

For more information, see ForEachEnumeratorHost.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper