Compartir a través de


Clase ForEachEnumeratorHostClass

Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.

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

Jerarquía de herencia

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

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

Sintaxis

'Declaración
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("3442EA23-18C4-4A00-8ABD-C4157880CAA7")> _
Public Class ForEachEnumeratorHostClass _
    Implements ForEachEnumeratorHost, IDTSName100, IDTSObjectHost100, IDTSForEachEnumerator100,  _
    IDTSPropertiesProvider100
'Uso
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

El tipo ForEachEnumeratorHostClass expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público ForEachEnumeratorHostClass Infraestructura. Initializes a new instance of the ForEachEnumeratorHostClass class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública CollectionEnumerator Infraestructura. 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 Infraestructura. Returns the string that is used by the run-time to create an instance of the ForEachItemEnumeratorClass object. This property is read-only.
Propiedad pública DelayValidation Infraestructura. Gets or sets a Boolean that indicates whether ForEachItemEnumeratorClass validation is delayed until the package runs.
Propiedad pública Description Infraestructura. Gets or sets description for the host.
Propiedad pública HostType Infraestructura. Gets an enumeration that describes the type of host that the ForEachItemEnumeratorClass is being used by. This property is read-only.
Propiedad pública ID Infraestructura. Returns the GUID assigned to the host.
Propiedad pública InnerObject Infraestructura. Returns the inner object of the host, which is the ForEachItemEnumeratorClass that is being hosted.
Propiedad pública Name Infraestructura. Gets or sets a name for the host.
Propiedad pública Properties Infraestructura. Returns a IDTSProperties100 collection that contains IDTSProperty100 objects. Each IDTSProperty100 has additional information about each task in the ForEachItemEnumeratorClass.

Arriba

Métodos

  Nombre Descripción
Método público ComputeExpressions Infraestructura. Computes the expressions in the property collection.
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetEnumerator Infraestructura. Returns an IEnumerator interface for use in iterating over the ForEachItemEnumeratorClass.
Método público GetExpression Infraestructura. Returns a String that contains the expression for the specified property. Null means no expression is assigned.
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método público InitializeForEachEnumerator Infraestructura. Initializes the properties associated with the task.
Método protegido MemberwiseClone (Se hereda de Object.)
Método público SetExpression Infraestructura. Assigns the specified expression to the property. Specify nulles 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 Infraestructura. Allows the host to determine if there are invalid settings that will prevent the ForEachItemEnumeratorClass from executing successfully.

Arriba

Comentarios

For more information, see ForEachEnumeratorHost.

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.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Dts.Runtime.Wrapper