Dela via


ForLoop Class

Provides a container that defines an iterative workflow in a package, using the for iteration statement.

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

Syntax

'Declaration
Public NotInheritable Class ForLoop _
    Inherits EventsProvider _
    Implements IDTSSequence, IDTSPropertiesProvider, IDTSPackagePath
'Usage
Dim instance As ForLoop
public sealed class ForLoop : EventsProvider, 
    IDTSSequence, IDTSPropertiesProvider, IDTSPackagePath
public ref class ForLoop sealed : public EventsProvider, 
    IDTSSequence, IDTSPropertiesProvider, IDTSPackagePath
[<SealedAttribute>]
type ForLoop =  
    class
        inherit EventsProvider
        interface IDTSSequence
        interface IDTSPropertiesProvider
        interface IDTSPackagePath
    end
public final class ForLoop extends EventsProvider implements IDTSSequence, IDTSPropertiesProvider, IDTSPackagePath

Remarks

At run time, the control flow in the ForLoop container is repeated within the overall package control flow. In each iteration of the loop, the ForLoop container evaluates an expression and repeats its workflow until the expression evaluates to false. For more information, see For Loop Container.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.Executable
      Microsoft.SqlServer.Dts.Runtime.DtsContainer
        Microsoft.SqlServer.Dts.Runtime.EventsProvider
          Microsoft.SqlServer.Dts.Runtime.ForLoop

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.