TaskHostClass Class
This API supports the product infrastructure and is not intended to be used directly from your code.
For more information, see TaskHost.
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
[ClassInterfaceAttribute(ClassInterfaceType::None)] [TypeLibTypeAttribute(TypeLibTypeFlags::FCanCreate)] [GuidAttribute("88144A89-05AE-4303-80F3-A9C83116A367")] [DefaultMemberAttribute("ExecValueVariable")] public ref class TaskHostClass : TaskHost, IDTSObjectHost100, IDTSTaskHost100, IDTSContainer100, IDTSExecutable100, IDTSEventsProvider100, IDTSExecutionMetrics100, IDTSPropertiesProvider100, IDTSName100, IDTSBreakpointSite100, IDTSSuspend100, IDTSPersist100, IDTSRuntimeObject100
| Name | Description | |
|---|---|---|
![]() | TaskHostClass() | This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the TaskHostClass class. |
| Name | Description | |
|---|---|---|
![]() | ApartmentThreaded | This API supports the product infrastructure and is not intended to be used directly from your code. For more information, see TaskHost. |
![]() | CreationName | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the string that is used to create a TaskHostClass object. |
![]() | DebugMode | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a value that indicates whether the TaskHostClass object is in debug mode. |
![]() | DelayValidation | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a value that indicates whether validation of the task is delayed until run time. |
![]() | Description | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the description of the TaskHostClass object. |
![]() | Disable | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a value that indicates whether the TaskHostClass object is disabled. |
![]() | DisableEventHandlers | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a value that indicates whether the event handlers on task are disabled. |
![]() | EventHandlers | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a collection of event handler objects. |
![]() | EventInfos | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a collection of EventInfo objects. |
![]() | ExecutionDuration | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a value that indicates the amount of time that the container spent in execution. |
![]() | ExecutionResult | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a value that indicates the success or failure of the execution of the TaskHostClass object. |
![]() | ExecutionStatus | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a value that indicates the current status of the execution of the TaskHostClass object at the time of the call. |
![]() | ExecutionValue | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the result of the task execution. |
![]() | ExecValueVariable | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the custom variable that contains the execution value of the task. |
![]() | FailPackageOnFailure | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a value that indicates whether the package fails when a child container fails. |
![]() | FailParentOnFailure | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a value that indicates whether the parent container fails when a child container fails. |
![]() | ForcedExecutionValue | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets an object that contains a container-defined value. |
![]() | ForceExecutionResult | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the execution result of the container. |
![]() | ForceExecutionValue | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a value that indicates whether the execution value of the container should be forced to contain a particular value. |
![]() | HostType | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the value from the DTSObjectHostType enumeration that describes the host of the container. |
![]() | ID | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a GUID that identifies the DTSForcedExecResult. |
![]() | IDTSContainer100_DelayValidation | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a value that indicates whether the validation is delayed. |
![]() | IDTSSuspend100_SuspendRequired | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a value that indicates whether the task should suspend when they encounter a breakpoint. |
![]() | InnerObject | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the object that is contained by the TaskHostClass. |
![]() | IsDefaultLocaleID | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a value that indicates whether the container uses the default locale. |
![]() | IsolationLevel | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the isolation level of the TaskHostClass. |
![]() | LocaleID | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the locale id to use when the TaskHostClass object is executed. |
![]() | LogEntryInfos | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a collection of IDTSLogEntryInfos100 object. |
![]() | LoggingMode | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the logging mode of the container. |
![]() | LoggingOptions | This API supports the product infrastructure and is not intended to be used directly from your code. Gets an object that contains properties that indicates the filtering and logging resource for containers. |
![]() | MaximumErrorCount | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a value that indicates the maximum number of errors. |
![]() | Name | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the name of the TaskHostClass. |
![]() | Parent | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the parent container. |
![]() | Properties | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a IDTSProperties100 collection that contains the properties associated with the task. |
![]() | StartTime | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the time that the container began execution. |
![]() | StopTime | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the time that the container ended execution. |
![]() | SuspendRequired | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or set a value that indicates whether the task should suspend when they encounter a breakpoint. |
![]() | TransactionOption | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a DTSTransactionOption enumeration that indicates whether the container participates in transactions. |
![]() | VariableDispenser | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a IDTSVariableDispenser100 object so variables associated with the container can be locked. |
![]() | Variables | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a collection that contains the variables associated with this container. |
| Name | Description | |
|---|---|---|
![]() | AcceptBreakpointManager(IDTSBreakpointManager100^) | This API supports the product infrastructure and is not intended to be used directly from your code. This method is called by the run-time engine when a task or container is created. |
![]() | ComputeExpressions(Boolean) | This API supports the product infrastructure and is not intended to be used directly from your code. Computes expressions of the TaskHostClass object. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Execute(IDTSConnections100^, IDTSVariables100^, IDTSEvents100^, IDTSLogging100^, Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Runs the application. |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetExpression(String^) | This API supports the product infrastructure and is not intended to be used directly from your code. Returns a string that contains the expression for the specified property. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetParentID() | This API supports the product infrastructure and is not intended to be used directly from your code. Returns the parent identifier of the TaskHostClass object. |
![]() | GetType() | (Inherited from Object.) |
![]() | IDTSSuspend100_ResumeExecution() | This API supports the product infrastructure and is not intended to be used directly from your code. Resumes the suspend execution. |
![]() | IDTSSuspend100_SuspendExecution() | This API supports the product infrastructure and is not intended to be used directly from your code. Suspends the execution. |
![]() | LoadFromXML(Object^, IDTSEvents100^) | This API supports the product infrastructure and is not intended to be used directly from your code. Loads a package saves as XML format. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RegenerateID() | This API supports the product infrastructure and is not intended to be used directly from your code. Creates a new GUID for the sequence. |
![]() | ResumeExecution() | This API supports the product infrastructure and is not intended to be used directly from your code. Resumes execution of the task after pausing. |
![]() | SaveToXML(Object^, Object^, IDTSEvents100^) | This API supports the product infrastructure and is not intended to be used directly from your code. Saves the package to XML format. |
![]() | SetExpression(String^, String^) | This API supports the product infrastructure and is not intended to be used directly from your code. Assigns the specified expression to the property. |
![]() | SuspendExecution() | This API supports the product infrastructure and is not intended to be used directly from your code. Called when the executable needs to suspend. |
![]() | ToString() | (Inherited from Object.) |
![]() | Validate(IDTSConnections100^, IDTSVariables100^, IDTSEvents100^, IDTSLogging100^) | This API supports the product infrastructure and is not intended to be used directly from your code. Allows the package to determine if it contains invalid settings that will prevent it from executing successfully. |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


