Share via


EventHandlerClass 클래스

정의

패키지에 대한 컨테이너 또는 특정 이벤트가 발생할 때 실행할 실행 가능한 개체를 포함하는 기타 컨테이너입니다.

public ref class EventHandlerClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::EventHandler, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSBreakpointSite100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSContainer100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExecutable100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExecutionMetrics100, 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("C41382ED-0293-4D63-AD59-7C92B5911CB1")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class EventHandlerClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.EventHandler, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutable100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, 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("49FE416D-E513-49F9-A292-6311CF05A643")]
public class EventHandlerClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.EventHandler, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutable100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, 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("38E200B8-D503-46DF-9307-019C8FB19D37")]
public class EventHandlerClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.EventHandler, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutable100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, 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("C41382ED-0293-4D63-AD59-7C92B5911CB1")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type EventHandlerClass = class
    interface EventHandler
    interface IDTSEventHandler100
    interface IDTSContainer100
    interface IDTSSequence100
    interface IDTSExecutable100
    interface IDTSExecutionMetrics100
    interface IDTSPropertiesProvider100
    interface IDTSName100
    interface IDTSBreakpointSite100
    interface IDTSSuspend100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("49FE416D-E513-49F9-A292-6311CF05A643")>]
type EventHandlerClass = class
    interface EventHandler
    interface IDTSEventHandler100
    interface IDTSContainer100
    interface IDTSSequence100
    interface IDTSExecutable100
    interface IDTSExecutionMetrics100
    interface IDTSPropertiesProvider100
    interface IDTSName100
    interface IDTSBreakpointSite100
    interface IDTSSuspend100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("38E200B8-D503-46DF-9307-019C8FB19D37")>]
type EventHandlerClass = class
    interface EventHandler
    interface IDTSEventHandler100
    interface IDTSContainer100
    interface IDTSSequence100
    interface IDTSExecutable100
    interface IDTSExecutionMetrics100
    interface IDTSPropertiesProvider100
    interface IDTSName100
    interface IDTSBreakpointSite100
    interface IDTSSuspend100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
Public Class EventHandlerClass
Implements EventHandler, IDTSBreakpointSite100, IDTSContainer100, IDTSExecutable100, IDTSExecutionMetrics100, IDTSName100, IDTSPersist100, IDTSPropertiesProvider100, IDTSRuntimeObject100, IDTSSequence100
상속
EventHandlerClass
특성
구현

설명

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

생성자

EventHandlerClass()

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

속성

CreationName

런타임 엔진에서 EventHandlerClass의 인스턴스를 만드는 데 사용되는 이름을 가져옵니다. 이 속성은 읽기 전용입니다.

DebugMode

작업에서 중단점이 사용되는지 확인해야 하는지 여부를 나타내는 부울을 가져오거나 설정합니다.

DelayValidation

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

Description

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

Disable

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

Executables

이 컨테이너에서 이벤트가 발생할 때 실행되는 실행 가능한 개체의 컬렉션을 가져옵니다. 이 속성은 읽기 전용입니다.

ExecutionDuration

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

ExecutionResult

EventHandlerClass 개체 실행의 성공 또는 실패를 나타내는 값을 가져옵니다.

ExecutionStatus

호출 시 EventHandlerClass 개체 실행의 현재 상태를 나타내는 값을 가져옵니다.

FailPackageOnFailure

자식 컨테이너가 실패할 때 패키지가 실패하는지 여부를 나타내는 부울을 가져오거나 설정합니다. 이 속성은 패키지 자체가 아닌 컨테이너에 사용됩니다.

FailParentOnFailure

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

ForcedExecutionValue

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

ForceExecutionResult

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

ForceExecutionValue

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

ID

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

IDTSSuspend100_SuspendRequired

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

IsDefaultLocaleID

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

IsolationLevel

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

LocaleID

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

LogEntryInfos

로그 항목 정의의 컬렉션을 가져옵니다. 이 속성은 읽기 전용입니다.

LoggingMode

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

LoggingOptions

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

MaximumErrorCount

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

Name

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

Parent

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

PrecedenceConstraints

이 컨테이너의 실행 가능한 개체에서 찾은 선행 제약 조건의 컬렉션(있는 경우)을 가져옵니다. 이 속성은 읽기 전용입니다.

Properties

IDTSProperty100 개체의 컬렉션입니다. 이 속성은 읽기 전용입니다.

StartTime

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

StopTime

컨테이너의 실행이 중지되는 시간을 가져옵니다. 이 속성은 읽기 전용입니다.

SuspendRequired

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

TransactionOption

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

VariableDispenser

컨테이너와 연결된 변수를 읽기 또는 쓰기에 대해 잠글 수 있도록 변수 디스펜서 개체를 가져옵니다.

Variables

이 컨테이너와 연결된 변수를 포함하는 컬렉션 개체를 가져옵니다. 이 속성은 읽기 전용입니다.

메서드

AcceptBreakpointManager(IDTSBreakpointManager100)

IDTSBreakpointManager100를 태스크에 전달합니다. 태스크는 중단점 관리자를 사용하여 중단점을 만들고 제거하며, 중단점 상태를 확인합니다. 이 메서드는 런타임을 통해 호출되며 코드에 사용되지 않습니다.

ComputeExpressions(Boolean)

EventHandlerClass 개체의 식을 계산합니다.

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

애플리케이션, 컨테이너 또는 패키지를 패키지 워크플로의 일부분으로 실행합니다.

GetExpression(String)

지정된 속성에 대한 식을 반환하고, 식이 할당되지 않은 경우 null을 반환합니다.

GetParentID()

이 컨테이너의 부모 식별자를 가져옵니다.

IDTSSuspend100_get_SuspendRequired()

패키지에 대한 컨테이너 또는 특정 이벤트가 발생할 때 실행할 실행 가능한 개체를 포함하는 기타 컨테이너입니다.

IDTSSuspend100_ResumeExecution()

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

IDTSSuspend100_set_SuspendRequired(Boolean)

패키지에 대한 컨테이너 또는 특정 이벤트가 발생할 때 실행할 실행 가능한 개체를 포함하는 기타 컨테이너입니다.

IDTSSuspend100_SuspendExecution()

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

LoadFromXML(Object, IDTSEvents100)

지정한 XML 문서에서 EventHandlerClass를 로드합니다.

RegenerateID()

컨테이너를 위한 새 GUID를 만들고 컨테이너 ID 속성을 업데이트합니다.

ResumeExecution()

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

SaveToXML(Object, Object, IDTSEvents100)

지정한 XML 문서에 EventHandlerClass를 저장합니다.

SetExpression(String, String)

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

SuspendExecution()

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

Validate(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100)

컨테이너에서 성공적인 실행을 방해하는 잘못된 설정이 포함되어 있는지 확인할 수 있도록 허용합니다.

적용 대상