Compartir a través de


Clase ForEachEnumeratorHost

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public NotInheritable Class ForEachEnumeratorHost _
    Inherits DtsObject _
    Implements IDTSName, IDTSPersist, IDTSObjectHost, IDTSForEachEnumerator,  _
    IDTSPropertiesProvider, IDTSPackagePath
'Uso
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

El tipo ForEachEnumeratorHost expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública CollectionEnumerator Gets or sets a Boolean that indicates if the hosting enumerator is enumerating collections of objects or enumerating collections of collections.
Propiedad pública CreationName Returns the string that is used by the run-time to create an instance of the ForEachEnumeratorHost object. This property is read-only.
Propiedad pública DelayValidation Gets or sets a Boolean that indicates whether ForEachEnumerator validation is delayed until the package runs.
Propiedad pública Description Gets or sets description for the host.
Propiedad pública HostType Gets an enumeration that describes the type of host that the ForEachEnumerator is being used by. This property is read-only
Propiedad pública ID Returns the GUID assigned to the host.
Propiedad pública InnerObject Returns the inner object of the host, which is the ForEachEnumerator that is being hosted.
Propiedad pública Name Gets or sets a name for the host.
Propiedad pública Properties Returns a DtsProperties collection that contains DtsProperty objects. Each DtsProperty has additional information about each task in the ForEachEnumeratorHost.

Arriba

Métodos

  Nombre Descripción
Método público Equals Determines whether two object instances are equal. (Se hereda de DtsObject.)
Método protegido Finalize (Se hereda de Object.)
Método público GetEnumerator Returns an IEnumerator interface for use in iterating over the ForEachEnumerator.
Método público GetExpression Returns a String that contains the expression for the specified property. Null means no expression is assigned.
Método público GetHashCode Returns the hash code for this instance. (Se hereda de DtsObject.)
Método público GetPackagePath
Método público GetType (Se hereda de Object.)
Método público LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method.
Método protegido MemberwiseClone (Se hereda de Object.)
Método público SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
Método público SetExpression Assigns the specified expression to the property. Specify nullNothingnullptrunites una referencia NULL (Nothing en Visual Basic). to remove an existing expression from the property.
Método público ToString (Se hereda de Object.)
Método público Validate Allows the host to determine if there are invalid settings that will prevent the ForEachEnumerator from executing successfully.

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.