Share via


ForEachLoopClass 클래스

정의

foreach 반복 문을 사용하여 패키지에서 반복 워크플로를 정의하는 컨테이너를 제공합니다.

public ref class ForEachLoopClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ForEachLoop, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSBreakpointSite100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSContainer100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEventsProvider100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExecutionMetrics100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSForEachLoop100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSName100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPersist100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPropertiesProvider100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSRuntimeObject100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSSequence100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("C2DA94B4-782A-4F02-8532-B79F2F17EF2C")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ForEachLoopClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachLoop, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachLoop100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("8D9B72A5-CF6C-43F6-810D-BA54BE7CDF5A")]
public class ForEachLoopClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachLoop, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachLoop100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("B4239650-285C-4F45-8F7B-759C3009A565")]
public class ForEachLoopClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachLoop, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachLoop100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSSequence100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("C2DA94B4-782A-4F02-8532-B79F2F17EF2C")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ForEachLoopClass = class
    interface IDTSExecutable100
    interface ForEachLoop
    interface IDTSForEachLoop100
    interface IDTSContainer100
    interface IDTSSequence100
    interface IDTSEventsProvider100
    interface IDTSExecutionMetrics100
    interface IDTSPropertiesProvider100
    interface IDTSBreakpointSite100
    interface IDTSSuspend100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
    interface IDTSName100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("8D9B72A5-CF6C-43F6-810D-BA54BE7CDF5A")>]
type ForEachLoopClass = class
    interface IDTSExecutable100
    interface ForEachLoop
    interface IDTSForEachLoop100
    interface IDTSContainer100
    interface IDTSSequence100
    interface IDTSEventsProvider100
    interface IDTSExecutionMetrics100
    interface IDTSPropertiesProvider100
    interface IDTSBreakpointSite100
    interface IDTSSuspend100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
    interface IDTSName100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("B4239650-285C-4F45-8F7B-759C3009A565")>]
type ForEachLoopClass = class
    interface IDTSExecutable100
    interface ForEachLoop
    interface IDTSForEachLoop100
    interface IDTSContainer100
    interface IDTSSequence100
    interface IDTSEventsProvider100
    interface IDTSExecutionMetrics100
    interface IDTSPropertiesProvider100
    interface IDTSBreakpointSite100
    interface IDTSSuspend100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
    interface IDTSName100
Public Class ForEachLoopClass
Implements ForEachLoop, IDTSBreakpointSite100, IDTSContainer100, IDTSEventsProvider100, IDTSExecutionMetrics100, IDTSForEachLoop100, IDTSName100, IDTSPersist100, IDTSPropertiesProvider100, IDTSRuntimeObject100, IDTSSequence100
상속
ForEachLoopClass
특성
구현

생성자

ForEachLoopClass()

ForEachLoopClass 클래스의 새 인스턴스를 초기화합니다.

속성

CreationName

ForEachLoopClass 개체의 인스턴스를 만드는 데 사용되는 문자열을 반환합니다. 이 속성은 읽기 전용입니다.

DebugMode

개체가 디버그 모드에 있는지 여부 ForEachLoopClass 와 실행하는 동안 이벤트를 발생 OnBreakpointHit(IDTSBreakpointSite100, IDTSBreakpointTarget100) 시켜야 하는지 여부를 나타내는 부울 값을 가져오거나 설정합니다.

DelayValidation

작업의 유효성 검사가 런타임까지 지연되는지 여부를 나타내는 부울 값을 가져오거나 설정합니다. 기본값은 False입니다.

Description

ForEachLoopClass 개체에 대한 설명을 가져오거나 설정합니다.

Disable

개체가 비활성화되었는지 여부를 나타내는 부울을 ForEachLoopClass 가져옵니다.

DisableEventHandlers

태스크에서 이벤트 처리기를 사용할 수 없는지 여부를 나타내는 부울을 가져옵니다.

EventHandlers

이벤트 처리기 개체의 컬렉션을 가져옵니다. 이 필드는 읽기 전용입니다.

EventInfos

IDTSEventInfo100 개체의 컬렉션입니다. 이 필드는 읽기 전용입니다.

Executables

실행 개체의 컬렉션을 가져옵니다.

ExecutionDuration

컨테이너 실행에 걸린 시간(밀리초)을 나타내는 값을 반환합니다. 이 속성은 읽기 전용입니다.

ExecutionResult

ForEachLoopClass 개체 실행의 성공 또는 실패를 나타내는 값을 반환합니다.

ExecutionStatus

호출 시 ForEachLoopClass 개체 실행의 현재 상태를 나타내는 값을 반환합니다.

FailPackageOnFailure

자식 컨테이너가 실패할 때 패키지가 실패하는지 여부를 나타내는 부울 값을 가져오거나 설정합니다.

FailParentOnFailure

자식 컨테이너가 실패할 때 부모 컨테이너가 실패하는지 여부를 정의하는 부울 값을 가져오거나 설정합니다.

ForcedExecutionValue

속성이 ForceExecutionValue true로 설정된 경우 패키지에서 반환하는 선택적 실행 값을 지정하는 값을 가져오거나 설정합니다.

ForceExecutionResult

컨테이너의 강제 실행 결과를 지정하는 DTSExecResult 열거형 값을 가져오거나 설정합니다.

ForceExecutionValue

컨테이너의 실행 값에 특정 값을 포함해야 하는지 여부를 나타내는 부울 값을 가져오거나 설정합니다.

ForEachEnumerator

IDTSForEachEnumerator100에 대한 호스트를 가져오거나 설정합니다.

ID

ForEachLoopClass의 GUID를 가져옵니다. 이 값은 읽기 전용입니다.

IDTSSuspend100_SuspendRequired

중단점이 발생할 때 작업을 일시 중단해야 하는지 여부를 나타내는 부울 값을 가져오거나 설정합니다. 이 값은 중단점에 도달할 때 태스크 및 컨테이너의 런타임 엔진에서 설정됩니다.

IsDefaultLocaleID

컨테이너에서 기본 로캘을 사용하는지 여부를 나타내는 부울입니다. 이 속성은 읽기 전용입니다.

IsolationLevel

ForEachLoopClass 개체의 트랜잭션에 대한 격리 수준을 가져오거나 설정합니다.

LocaleID

개체가 실행될 때 사용할 Microsoft Win32® localeID를 나타내는 Integer를 ForEachLoopClass 가져오거나 설정합니다.

LogEntryInfos

컨테이너에 대한 IDTSLogEntryInfos100 개체를 가져옵니다. 이 속성은 읽기 전용입니다.

LoggingMode

컨테이너의 로깅 모드를 나타내는 DTSLoggingMode 열거형의 올바른 값을 가져오거나 설정합니다.

LoggingOptions

컨테이너에 대한 필터링 및 로깅 리소스를 나타내는 속성을 포함하는 개체를 가져옵니다. 이 속성은 읽기 전용입니다.

MaximumErrorCount

개체가 실행을 중지하기 전에 ForEachLoopClass 발생할 수 있는 최대 오류 수를 나타내는 정수 값을 가져오거나 설정합니다.

Name

ForEachLoopClass의 이름을 가져오거나 설정합니다.

Parent

부모 컨테이너를 가져옵니다. 이 값은 읽기 전용입니다.

PrecedenceConstraints

IDTSPrecedenceConstraints100와 연결된 모든 선행 제약 조건을 포함하는 ForEachLoop 컬렉션을 가져옵니다.

Properties

IDTSProperty100와 연결된 ForEachLoop 개체의 컬렉션을 반환합니다.

StartTime

컨테이너에서 실행을 시작한 시간을 가져옵니다. 이 속성은 읽기 전용입니다.

StopTime

컨테이너에서 실행을 끝낸 시간을 가져옵니다. 이 속성은 읽기 전용입니다.

SuspendRequired

중단점이 발생할 때 작업을 일시 중단해야 하는지 여부를 나타내는 부울 값을 가져오거나 설정합니다. 이 값은 중단점에 도달할 때 태스크 및 컨테이너의 런타임 엔진에서 설정됩니다.

TransactionOption

컨테이너에서 트랜잭션에 참여하는지 여부를 나타내는 DTSTransactionOption 열거형 값을 가져오거나 설정합니다.

VariableDispenser

컨테이너와 연결된 변수를 잠글 수 있도록 IDTSVariableDispenser100 개체를 가져옵니다.

VariableMappings

IDTSForEachVariableMappings100에 대한 변수 매핑을 포함하는 ForEachLoop 컬렉션을 가져옵니다.

Variables

이 컨테이너와 연결된 변수를 포함하는 컬렉션을 반환합니다. 이 속성은 읽기 전용입니다.

메서드

AcceptBreakpointManager(IDTSBreakpointManager100)

런타임 엔진에서 태스크 또는 컨테이너를 만들어 태스크에서 중단점을 만들고 제거하며, 중단점의 상태를 확인할 수 있도록 지정할 때 호출되는 IDTSBreakpointManager100 관리자를 허용합니다. 이 메서드는 런타임을 통해 호출되며 코드에 사용되지 않습니다.

ComputeExpressions(Boolean)

속성 컬렉션의 식을 계산합니다.

Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object)

실행 파일을 실행합니다.

GetExpression(String)

지정된 속성에 대한 식이 포함된 String을 반환합니다. Null은 식이 할당되지 않음을 의미합니다.

GetParentID()

부모 컨테이너의 ID를 가져옵니다.

IDTSForEachLoop100_Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object)

실행 파일을 실행합니다.

IDTSForEachLoop100_Validate(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100)

실행 파일이 실행되기 전에 모든 해당 모든 종속 파일 및 기타 항목의 유효성을 검사하여 해당 실행 파일이 성공적으로 실행되는지 확인합니다.

IDTSSuspend100_get_SuspendRequired()

foreach 반복 문을 사용하여 패키지에서 반복 워크플로를 정의하는 컨테이너를 제공합니다.

IDTSSuspend100_ResumeExecution()

일시 중지 이후 태스크 실행을 다시 시작합니다. 태스크 또는 컨테이너는 런타임 엔진에 의해 다시 시작됩니다.

IDTSSuspend100_set_SuspendRequired(Boolean)

foreach 반복 문을 사용하여 패키지에서 반복 워크플로를 정의하는 컨테이너를 제공합니다.

IDTSSuspend100_SuspendExecution()

실행 파일을 일시 중지해야 함을 나타냅니다. 이 메서드는 런타임 엔진을 통해 호출됩니다.

LoadFromXML(Object, IDTSEvents100)

XML 형식으로 저장된 데이터를 로드합니다.

RegenerateID()

자세한 내용은 ForEachLoop를 참조하세요.

ResumeExecution()

일시 중지 이후 태스크 실행을 다시 시작합니다. 태스크 또는 컨테이너는 런타임 엔진에 의해 다시 시작됩니다.

SaveToXML(Object, Object, IDTSEvents100)

정보를 XML 문서로 저장합니다.

SetExpression(String, String)

지정한 식을 속성에 할당합니다. 속성에서 기존 식을 제거하려면 null을 지정합니다.

SuspendExecution()

실행 파일을 일시 중지해야 함을 나타냅니다. 이 메서드는 런타임 엔진을 통해 호출됩니다.

Validate(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100)

실행 파일이 실행되기 전에 모든 해당 모든 종속 파일 및 기타 항목의 유효성을 검사하여 해당 실행 파일이 성공적으로 실행되는지 확인합니다.

적용 대상