Share via


ForEachFromVarEnumerator 클래스

This enumerator is used to loop over the objects that are in the variable specified in VariableName.

상속 계층

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.ForEachEnumerator
      Microsoft.SqlServer.Dts.Runtime.Enumerators.FromVar.ForEachFromVarEnumerator

네임스페이스:  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

ForEachFromVarEnumerator 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 ForEachFromVarEnumerator Initializes a new instance of the ForEachFromVarEnumerator class.

맨 위로 이동

속성

  이름 설명
공용 속성 CollectionEnumerator Gets or sets Boolean that indicates if the foreach loop enumerator is enumerating collections of objects or enumerating collections of collections. (ForEachEnumerator에서 상속됨)
공용 속성 VariableName Gets or sets the name of the variable to enumerate.
공용 속성 Version Returns the version number of the package. This property is read-only. (ForEachEnumerator에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 CanUpdate A Boolean that indicates if the new package XML can update the old package XML. (ForEachEnumerator에서 상속됨)
공용 메서드 Equals Determines whether two object instances are equal. (DtsObject에서 상속됨)
공용 메서드 GetEnumerator Returns an enumerator that can iterate over the ForEachFromVarEnumerator instance. (ForEachEnumerator.GetEnumerator(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging)을(를) 재정의함)
공용 메서드 GetHashCode Returns the hash code for this instance. (DtsObject에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 InitializeForEachEnumerator Initializes the properties associated with the task. This method is called by the runtime and is not used in code. (ForEachEnumerator에서 상속됨)
공용 메서드 LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
공용 메서드 SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
공용 메서드 ToString (Object에서 상속됨)
공용 메서드 Update This method updates the old package XML with the new package XML if CanUpdate is set to true. (ForEachEnumerator에서 상속됨)
공용 메서드 Validate Allows the container to determine if it contains invalid settings that will prevent it from executing successfully. (ForEachEnumerator에서 상속됨)

맨 위로 이동

주의

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.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Dts.Runtime.Enumerators.FromVar 네임스페이스