Classe ForEachEnumeratorHost

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

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime..::..ForEachEnumeratorHost

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

Syntaxe

'Déclaration
Public NotInheritable Class ForEachEnumeratorHost _
    Inherits DtsObject _
    Implements IDTSName, IDTSPersist, IDTSObjectHost, IDTSForEachEnumerator,  _
    IDTSPropertiesProvider, IDTSPackagePath
'Utilisation
Dim instance As ForEachEnumeratorHost
public sealed class ForEachEnumeratorHost : DtsObject, 
    IDTSName, IDTSPersist, IDTSObjectHost, IDTSForEachEnumerator, IDTSPropertiesProvider, 
    IDTSPackagePath
public ref class ForEachEnumeratorHost sealed : public DtsObject, 
    IDTSName, IDTSPersist, IDTSObjectHost, IDTSForEachEnumerator, IDTSPropertiesProvider, 
    IDTSPackagePath
[<SealedAttribute>]
type ForEachEnumeratorHost =  
    class
        inherit DtsObject
        interface IDTSName
        interface IDTSPersist
        interface IDTSObjectHost
        interface IDTSForEachEnumerator
        interface IDTSPropertiesProvider
        interface IDTSPackagePath
    end
public final class ForEachEnumeratorHost extends DtsObject implements IDTSName, IDTSPersist, IDTSObjectHost, IDTSForEachEnumerator, IDTSPropertiesProvider, IDTSPackagePath

Le type ForEachEnumeratorHost expose les membres suivants.

Propriétés

  Nom Description
Propriété publique CollectionEnumerator 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 Returns the string that is used by the run-time to create an instance of the ForEachEnumeratorHost object. This property is read-only.
Propriété publique DelayValidation Gets or sets a Boolean that indicates whether ForEachEnumerator validation is delayed until the package runs.
Propriété publique Description Gets or sets description for the host.
Propriété publique HostType Gets an enumeration that describes the type of host that the ForEachEnumerator is being used by. This property is read-only
Propriété publique ID Returns the GUID assigned to the host.
Propriété publique InnerObject Returns the inner object of the host, which is the ForEachEnumerator that is being hosted.
Propriété publique Name Gets or sets a name for the host.
Propriété publique Properties Returns a DtsProperties collection that contains DtsProperty objects. Each DtsProperty has additional information about each task in the ForEachEnumeratorHost.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals Determines whether two object instances are equal. (hérité de DtsObject.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetEnumerator Returns an IEnumerator interface for use in iterating over the ForEachEnumerator.
Méthode publique GetExpression Returns a String that contains the expression for the specified property. Null means no expression is assigned.
Méthode publique GetHashCode Returns the hash code for this instance. (hérité de DtsObject.)
Méthode publique GetPackagePath
Méthode publique GetType (hérité de Object.)
Méthode publique LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
Méthode publique SetExpression Assigns the specified expression to the property. Specify nullNothingnullptrunitune 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 Allows the host to determine if there are invalid settings that will prevent the ForEachEnumerator from executing successfully.

Haut de la page

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.