ForEachFromVarEnumerator 類別
This enumerator is used to loop over the objects that are in the variable specified in VariableName.
命名空間: Microsoft.SqlServer.Dts.Runtime.Enumerators.FromVar
組件: Microsoft.SqlServer.ForEachFromVarEnumerator (在 Microsoft.SqlServer.ForEachFromVarEnumerator.dll 中)
語法
'宣告
Public NotInheritable Class ForEachFromVarEnumerator _
Inherits ForEachEnumerator _
Implements IDTSComponentPersist, IDTSForEachFromVarEnumerator
'用途
Dim instance As ForEachFromVarEnumerator
public sealed class ForEachFromVarEnumerator : ForEachEnumerator,
IDTSComponentPersist, IDTSForEachFromVarEnumerator
public ref class ForEachFromVarEnumerator sealed : public ForEachEnumerator,
IDTSComponentPersist, IDTSForEachFromVarEnumerator
[<SealedAttribute>]
type ForEachFromVarEnumerator =
class
inherit ForEachEnumerator
interface IDTSComponentPersist
interface IDTSForEachFromVarEnumerator
end
public final class ForEachFromVarEnumerator extends ForEachEnumerator implements IDTSComponentPersist, IDTSForEachFromVarEnumerator
備註
An example of the use of this enumerator is when a query is run, and the result of the query is stored in the variable. You can use this enumerator to loop over the query results.
繼承階層
System. . :: . .Object
Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
Microsoft.SqlServer.Dts.Runtime. . :: . .ForEachEnumerator
Microsoft.SqlServer.Dts.Runtime.Enumerators.FromVar..::..ForEachFromVarEnumerator
執行緒安全性
這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。