共用方式為


ForLoop 類別

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

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public NotInheritable Class ForLoop _
    Inherits EventsProvider _
    Implements IDTSSequence, IDTSPropertiesProvider, IDTSPackagePath
'用途
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

備註

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 迴圈容器.

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。