Share via


EventHandlerClass 클래스

이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.

A container on a package or other containers that holds executable objects to run when specific events occur.

상속 계층

System.Object
  Microsoft.SqlServer.Dts.Runtime.Wrapper.EventHandlerClass

네임스페이스:  Microsoft.SqlServer.Dts.Runtime.Wrapper
어셈블리:  Microsoft.SqlServer.DTSRuntimeWrap(Microsoft.SqlServer.DTSRuntimeWrap.dll)

구문

‘선언
<GuidAttribute("B8E051B0-2B05-49C7-A60F-20E877392D5E")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class EventHandlerClass _
    Implements EventHandler, IDTSEventHandler100, IDTSContainer100, IDTSSequence100,  _
    IDTSExecutable100, IDTSExecutionMetrics100, IDTSPropertiesProvider100, IDTSName100, IDTSBreakpointSite100,  _
    IDTSSuspend100, IDTSPersist100, IDTSRuntimeObject100
‘사용 방법
Dim instance As EventHandlerClass
[GuidAttribute("B8E051B0-2B05-49C7-A60F-20E877392D5E")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class EventHandlerClass : EventHandler, 
    IDTSEventHandler100, IDTSContainer100, IDTSSequence100, IDTSExecutable100, IDTSExecutionMetrics100, 
    IDTSPropertiesProvider100, IDTSName100, IDTSBreakpointSite100, IDTSSuspend100, IDTSPersist100, 
    IDTSRuntimeObject100
[GuidAttribute(L"B8E051B0-2B05-49C7-A60F-20E877392D5E")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class EventHandlerClass : EventHandler, 
    IDTSEventHandler100, IDTSContainer100, IDTSSequence100, IDTSExecutable100, IDTSExecutionMetrics100, 
    IDTSPropertiesProvider100, IDTSName100, IDTSBreakpointSite100, IDTSSuspend100, IDTSPersist100, 
    IDTSRuntimeObject100
[<GuidAttribute("B8E051B0-2B05-49C7-A60F-20E877392D5E")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
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 
    end
public class EventHandlerClass implements EventHandler, IDTSEventHandler100, IDTSContainer100, IDTSSequence100, IDTSExecutable100, IDTSExecutionMetrics100, IDTSPropertiesProvider100, IDTSName100, IDTSBreakpointSite100, IDTSSuspend100, IDTSPersist100, IDTSRuntimeObject100

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

생성자

  이름 설명
공용 메서드 EventHandlerClass 인프라입니다. Initializes a new instance of the EventHandlerClass class.

맨 위로 이동

속성

  이름 설명
공용 속성 CreationName 인프라입니다. Gets the name that is used by the runtime engine to create an instance of the EventHandlerClass. This property is read-only.
공용 속성 DebugMode 인프라입니다. Gets or sets a Boolean that indicates whether a task should check if breakpoints are enabled.
공용 속성 DelayValidation 인프라입니다. Gets or sets a Boolean that indicates whether validation of the task is delayed until run time. The default value is false.
공용 속성 Description 인프라입니다. Gets or sets the description of the EventHandlerClass object.
공용 속성 Disable 인프라입니다. Gets a Boolean that indicates whether the EventHandlerClass object is disabled.
공용 속성 Executables 인프라입니다. Gets a collection of executable objects in this container which run when the event occurs. This property is read-only.
공용 속성 ExecutionDuration 인프라입니다. Gets a value that indicates the amount of time that the container spent in execution, in milliseconds. This property is read-only.
공용 속성 ExecutionResult 인프라입니다. Gets a value that indicates the success or failure of the execution of the EventHandlerClass object.
공용 속성 ExecutionStatus 인프라입니다. Gets a value that indicates the current status of the execution of the EventHandlerClass object at the time of the call.
공용 속성 FailPackageOnFailure 인프라입니다. Gets or sets a Boolean that indicates whether the package fails when a child container fails. This property is used on containers, not the package itself.
공용 속성 FailParentOnFailure 인프라입니다. Gets or sets a Boolean that indicates whether the parent container fails when a child container fails.
공용 속성 ForcedExecutionValue 인프라입니다. If the ForceExecutionValue property is set to true, gets or sets a value that specifies the optional execution value the package returns.
공용 속성 ForceExecutionResult 인프라입니다. Gets or sets a DTSForcedExecResult enumeration value that specifies the forced execution result of the container.
공용 속성 ForceExecutionValue 인프라입니다. Gets or sets a Boolean that indicates whether the execution value of the container should be forced to contain a particular value.
공용 속성 ID 인프라입니다. Gets the ID, which is a GUID, of the EventHandlerClass. The value is read-only.
공용 속성 IDTSSuspend100_SuspendRequired 인프라입니다. Gets or sets a Boolean that indicates if tasks should suspend when they encounter a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered.
공용 속성 IsDefaultLocaleID 인프라입니다. Gets a Boolean that indicates whether the container uses the default locale. This property is read-only.
공용 속성 IsolationLevel 인프라입니다. Gets or sets the isolation level of the transaction in the EventHandlerClass object.
공용 속성 LocaleID 인프라입니다. Gets or sets an Integer that indicates the Microsoft Win32® localeID to use when the EventHandlerClass object is executed.
공용 속성 LogEntryInfos 인프라입니다. Gets a collection of log entry definitions. This property is read-only.
공용 속성 LoggingMode 인프라입니다. Gets or sets a value from the DTSLoggingMode enumeration that indicates the logging mode of the container.
공용 속성 LoggingOptions 인프라입니다. Gets an object that contains properties that indicates the filtering and logging resource for containers. This property is read-only.
공용 속성 MaximumErrorCount 인프라입니다. Gets or sets an Integer value that specifies the maximum number of errors that can occur before the EventHandlerClass object stops running.
공용 속성 Name 인프라입니다. Gets or sets the name of the EventHandlerClass.
공용 속성 Parent 인프라입니다. Gets the parent container. The value is read-only.
공용 속성 PrecedenceConstraints 인프라입니다. Gets a collection of precedence constraints, if any, found on the executable objects in this container. This property is read-only.
공용 속성 Properties 인프라입니다. Gets a collection of IDTSProperty100 objects. This property is read-only.
공용 속성 StartTime 인프라입니다. Gets the time when the container starts execution. This property is read-only.
공용 속성 StopTime 인프라입니다. Gets the time when the container stops execution. This property is read-only.
공용 속성 SuspendRequired 인프라입니다. Gets or sets a Boolean that indicates if tasks should suspend when they encounter a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered.
공용 속성 TransactionOption 인프라입니다. Gets or sets a value that indicates whether the container participates in transactions.
공용 속성 VariableDispenser 인프라입니다. Gets a variable dispenser object so that variables associated with the container can be locked for reading or writing.
공용 속성 Variables 인프라입니다. Gets a collection object that contains the variables associated with this container. This property is read-only.

맨 위로 이동

메서드

  이름 설명
공용 메서드 AcceptBreakpointManager 인프라입니다. Passes a IDTSBreakpointManager100 to a task. The task will use the breakpoint manager to create, remove, and check the status of breakpoints. This method is called by the runtime and is not used in code.
공용 메서드 ComputeExpressions 인프라입니다. Computes the expressions of this EventHandlerClass object.
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 Execute 인프라입니다. Runs the application, container, or package as part of a package workflow.
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetExpression 인프라입니다. Returns the expression for the specified property or nullnull 참조(Visual Basic에서는 Nothing) if no expression is assigned.
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetParentID 인프라입니다. Gets the parent identifier of this container.
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 IDTSSuspend100_ResumeExecution 인프라입니다. Resumes execution of the task after pausing. The task or container is resumed by the runtime engine.
공용 메서드 IDTSSuspend100_SuspendExecution 인프라입니다. Notifies that the executable needs to suspend. This method is called by the runtime engine.
공용 메서드 LoadFromXML 인프라입니다. Loads an EventHandlerClass from the specified XML document.
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 RegenerateID 인프라입니다. Creates a new GUID for the container and updates the container ID property.
공용 메서드 ResumeExecution 인프라입니다. Resumes execution of the task after pausing. The task or container is resumed by the runtime engine.
공용 메서드 SaveToXML 인프라입니다. Saves an EventHandlerClass to the specified XML document.
공용 메서드 SetExpression 인프라입니다. Assigns the specified expression to the property. Specify nullnull 참조(Visual Basic에서는 Nothing) to remove an existing expression from the property.
공용 메서드 SuspendExecution 인프라입니다. Notifies that the executable needs to suspend. This method is called by the runtime engine.
공용 메서드 ToString (Object에서 상속됨)
공용 메서드 Validate 인프라입니다. Allows the container to determine if it contains invalid settings that will prevent it from executing successfully.

맨 위로 이동

주의

For more information, see DtsEventHandler.

스레드 보안

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

참고 항목

참조

Microsoft.SqlServer.Dts.Runtime.Wrapper 네임스페이스