ForEachEnumeratorHost Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

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

The ForEachEnumeratorHost type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method Equals Determines whether two object instances are equal. (Inherited from DtsObject.)
Public method GetEnumerator Returns an IEnumerator interface for use in iterating over the ForEachEnumerator.
Public method GetExecutionPath Gets the execution path for the ForEachEnumeratorHost object.
Public method GetExpression Returns a String that contains the expression for the specified property. Null means no expression is assigned.
Public method GetHashCode Returns the hash code for this instance. (Inherited from DtsObject.)
Public method GetPackagePath Gets the package path for the ForEachEnumeratorHost object.
Public method GetType (Inherited from Object.)
Public method LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
Public method SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
Public method SetExpression Assigns the specified expression to the property. Specify nulla null reference (Nothing in Visual Basic) to remove an existing expression from the property.
Public method ToString (Inherited from Object.)
Public method Validate Allows the host to determine if there are invalid settings that will prevent the ForEachEnumerator from executing successfully.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Runtime Namespace