다음을 통해 공유


TaskHostClass 클래스

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

For more information, see TaskHost.

상속 계층

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

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

구문

‘선언
<GuidAttribute("3A0263D5-875D-4BD4-A133-FC2EBFBAE434")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class TaskHostClass _
    Implements TaskHost, IDTSObjectHost100, IDTSTaskHost100, IDTSContainer100,  _
    IDTSExecutable100, IDTSEventsProvider100, IDTSExecutionMetrics100, IDTSPropertiesProvider100, IDTSName100,  _
    IDTSBreakpointSite100, IDTSSuspend100, IDTSPersist100, IDTSRuntimeObject100
‘사용 방법
Dim instance As TaskHostClass
[GuidAttribute("3A0263D5-875D-4BD4-A133-FC2EBFBAE434")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class TaskHostClass : TaskHost, 
    IDTSObjectHost100, IDTSTaskHost100, IDTSContainer100, IDTSExecutable100, IDTSEventsProvider100, 
    IDTSExecutionMetrics100, IDTSPropertiesProvider100, IDTSName100, IDTSBreakpointSite100, IDTSSuspend100, 
    IDTSPersist100, IDTSRuntimeObject100
[GuidAttribute(L"3A0263D5-875D-4BD4-A133-FC2EBFBAE434")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class TaskHostClass : TaskHost, 
    IDTSObjectHost100, IDTSTaskHost100, IDTSContainer100, IDTSExecutable100, IDTSEventsProvider100, 
    IDTSExecutionMetrics100, IDTSPropertiesProvider100, IDTSName100, IDTSBreakpointSite100, IDTSSuspend100, 
    IDTSPersist100, IDTSRuntimeObject100
[<GuidAttribute("3A0263D5-875D-4BD4-A133-FC2EBFBAE434")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type TaskHostClass =  
    class 
        interface TaskHost 
        interface IDTSObjectHost100 
        interface IDTSTaskHost100 
        interface IDTSContainer100 
        interface IDTSExecutable100 
        interface IDTSEventsProvider100 
        interface IDTSExecutionMetrics100 
        interface IDTSPropertiesProvider100 
        interface IDTSName100 
        interface IDTSBreakpointSite100 
        interface IDTSSuspend100 
        interface IDTSPersist100 
        interface IDTSRuntimeObject100 
    end
public class TaskHostClass implements TaskHost, IDTSObjectHost100, IDTSTaskHost100, IDTSContainer100, IDTSExecutable100, IDTSEventsProvider100, IDTSExecutionMetrics100, IDTSPropertiesProvider100, IDTSName100, IDTSBreakpointSite100, IDTSSuspend100, IDTSPersist100, IDTSRuntimeObject100

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

생성자

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

맨 위로 이동

속성

  이름 설명
공용 속성 ApartmentThreaded 인프라입니다. For more information, see TaskHost.
공용 속성 CreationName 인프라입니다. Gets the string that is used to create a TaskHostClass object.
공용 속성 DebugMode 인프라입니다. Gets or sets a value that indicates whether the TaskHostClass object is in debug mode.
공용 속성 DelayValidation 인프라입니다. Gets or sets a value that indicates whether validation of the task is delayed until run time.
공용 속성 Description 인프라입니다. Gets or sets the description of the TaskHostClass object.
공용 속성 Disable 인프라입니다. Gets or sets a value that indicates whether the TaskHostClass object is disabled.
공용 속성 DisableEventHandlers 인프라입니다. Gets or sets a value that indicates whether the event handlers on task are disabled.
공용 속성 EventHandlers 인프라입니다. Gets a collection of event handler objects.
공용 속성 EventInfos 인프라입니다. Gets a collection of EventInfo objects.
공용 속성 ExecutionDuration 인프라입니다. Gets a value that indicates the amount of time that the container spent in execution.
공용 속성 ExecutionResult 인프라입니다. Gets a value that indicates the success or failure of the execution of the TaskHostClass object.
공용 속성 ExecutionStatus 인프라입니다. Gets a value that indicates the current status of the execution of the TaskHostClass object at the time of the call.
공용 속성 ExecutionValue 인프라입니다. Gets the result of the task execution.
공용 속성 ExecValueVariable 인프라입니다. Gets or sets the custom variable that contains the execution value of the task.
공용 속성 FailPackageOnFailure 인프라입니다. Gets or sets a value that indicates whether the package fails when a child container fails.
공용 속성 FailParentOnFailure 인프라입니다. Gets or sets a value that indicates whether the parent container fails when a child container fails.
공용 속성 ForcedExecutionValue 인프라입니다. Gets or sets an object that contains a container-defined value.
공용 속성 ForceExecutionResult 인프라입니다. Gets or sets the execution result of the container.
공용 속성 ForceExecutionValue 인프라입니다. Gets or sets a value that indicates whether the execution value of the container should be forced to contain a particular value.
공용 속성 HostType 인프라입니다. Gets the value from the DTSObjectHostType enumeration that describes the host of the container.
공용 속성 ID 인프라입니다. Gets a GUID that identifies the DTSForcedExecResult.
공용 속성 IDTSContainer100_DelayValidation 인프라입니다. Gets or sets a value that indicates whether the validation is delayed.
공용 속성 IDTSSuspend100_SuspendRequired 인프라입니다. Gets or sets a value that indicates whether the task should suspend when they encounter a breakpoint.
공용 속성 InnerObject 인프라입니다. Gets the object that is contained by the TaskHostClass.
공용 속성 IsDefaultLocaleID 인프라입니다. Gets a value that indicates whether the container uses the default locale.
공용 속성 IsolationLevel 인프라입니다. Gets the isolation level of the TaskHostClass.
공용 속성 LocaleID 인프라입니다. Gets or sets the locale id to use when the TaskHostClass object is executed.
공용 속성 LogEntryInfos 인프라입니다. Gets a collection of IDTSLogEntryInfos100 object.
공용 속성 LoggingMode 인프라입니다. Gets or sets the logging mode of the container.
공용 속성 LoggingOptions 인프라입니다. Gets an object that contains properties that indicates the filtering and logging resource for containers.
공용 속성 MaximumErrorCount 인프라입니다. Gets or sets a value that indicates the maximum number of errors.
공용 속성 Name 인프라입니다. Gets or sets the name of the TaskHostClass.
공용 속성 Parent 인프라입니다. Gets the parent container.
공용 속성 Properties 인프라입니다. Gets a IDTSProperties100 collection that contains the properties associated with the task.
공용 속성 StartTime 인프라입니다. Gets the time that the container began execution.
공용 속성 StopTime 인프라입니다. Gets the time that the container ended execution.
공용 속성 SuspendRequired 인프라입니다. Gets or set a value that indicates whether the task should suspend when they encounter a breakpoint.
공용 속성 TransactionOption 인프라입니다. Gets or sets a DTSTransactionOption enumeration that indicates whether the container participates in transactions.
공용 속성 VariableDispenser 인프라입니다. Gets a IDTSVariableDispenser100 object so variables associated with the container can be locked.
공용 속성 Variables 인프라입니다. Gets a collection that contains the variables associated with this container.

맨 위로 이동

메서드

  이름 설명
공용 메서드 AcceptBreakpointManager 인프라입니다. This method is called by the run-time engine when a task or container is created.
공용 메서드 ComputeExpressions 인프라입니다. Computes expressions of the TaskHostClass object.
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 Execute 인프라입니다. Runs the application.
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetExpression 인프라입니다. Returns a string that contains the expression for the specified property.
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetParentID 인프라입니다. Returns the parent identifier of the TaskHostClass object.
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 IDTSSuspend100_ResumeExecution 인프라입니다. Resumes the suspend execution.
공용 메서드 IDTSSuspend100_SuspendExecution 인프라입니다. Suspends the execution.
공용 메서드 LoadFromXML 인프라입니다. Loads a package saves as XML format.
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 RegenerateID 인프라입니다. Creates a new GUID for the sequence.
공용 메서드 ResumeExecution 인프라입니다. Resumes execution of the task after pausing.
공용 메서드 SaveToXML 인프라입니다. Saves the package to XML format.
공용 메서드 SetExpression 인프라입니다. Assigns the specified expression to the property.
공용 메서드 SuspendExecution 인프라입니다. Called when the executable needs to suspend.
공용 메서드 ToString (Object에서 상속됨)
공용 메서드 Validate 인프라입니다. Allows the package to determine if it contains invalid settings that will prevent it from executing successfully.

맨 위로 이동

스레드 보안

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

참고 항목

참조

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