TaskHostClass-Klasse
Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.
For more information, see TaskHost.
Vererbungshierarchie
System.Object
Microsoft.SqlServer.Dts.Runtime.Wrapper.TaskHostClass
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
<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
'Usage
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
Der TaskHostClass-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
TaskHostClass | Infrastruktur Initializes a new instance of the TaskHostClass class. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
ApartmentThreaded | Infrastruktur For more information, see TaskHost. | |
CreationName | Infrastruktur Gets the string that is used to create a TaskHostClass object. | |
DebugMode | Infrastruktur Gets or sets a value that indicates whether the TaskHostClass object is in debug mode. | |
DelayValidation | Infrastruktur Gets or sets a value that indicates whether validation of the task is delayed until run time. | |
Description | Infrastruktur Gets or sets the description of the TaskHostClass object. | |
Disable | Infrastruktur Gets or sets a value that indicates whether the TaskHostClass object is disabled. | |
DisableEventHandlers | Infrastruktur Gets or sets a value that indicates whether the event handlers on task are disabled. | |
EventHandlers | Infrastruktur Gets a collection of event handler objects. | |
EventInfos | Infrastruktur Gets a collection of EventInfo objects. | |
ExecutionDuration | Infrastruktur Gets a value that indicates the amount of time that the container spent in execution. | |
ExecutionResult | Infrastruktur Gets a value that indicates the success or failure of the execution of the TaskHostClass object. | |
ExecutionStatus | Infrastruktur Gets a value that indicates the current status of the execution of the TaskHostClass object at the time of the call. | |
ExecutionValue | Infrastruktur Gets the result of the task execution. | |
ExecValueVariable | Infrastruktur Gets or sets the custom variable that contains the execution value of the task. | |
FailPackageOnFailure | Infrastruktur Gets or sets a value that indicates whether the package fails when a child container fails. | |
FailParentOnFailure | Infrastruktur Gets or sets a value that indicates whether the parent container fails when a child container fails. | |
ForcedExecutionValue | Infrastruktur Gets or sets an object that contains a container-defined value. | |
ForceExecutionResult | Infrastruktur Gets or sets the execution result of the container. | |
ForceExecutionValue | Infrastruktur Gets or sets a value that indicates whether the execution value of the container should be forced to contain a particular value. | |
HostType | Infrastruktur Gets the value from the DTSObjectHostType enumeration that describes the host of the container. | |
ID | Infrastruktur Gets a GUID that identifies the DTSForcedExecResult. | |
IDTSContainer100_DelayValidation | Infrastruktur Gets or sets a value that indicates whether the validation is delayed. | |
IDTSSuspend100_SuspendRequired | Infrastruktur Gets or sets a value that indicates whether the task should suspend when they encounter a breakpoint. | |
InnerObject | Infrastruktur Gets the object that is contained by the TaskHostClass. | |
IsDefaultLocaleID | Infrastruktur Gets a value that indicates whether the container uses the default locale. | |
IsolationLevel | Infrastruktur Gets the isolation level of the TaskHostClass. | |
LocaleID | Infrastruktur Gets or sets the locale id to use when the TaskHostClass object is executed. | |
LogEntryInfos | Infrastruktur Gets a collection of IDTSLogEntryInfos100 object. | |
LoggingMode | Infrastruktur Gets or sets the logging mode of the container. | |
LoggingOptions | Infrastruktur Gets an object that contains properties that indicates the filtering and logging resource for containers. | |
MaximumErrorCount | Infrastruktur Gets or sets a value that indicates the maximum number of errors. | |
Name | Infrastruktur Gets or sets the name of the TaskHostClass. | |
Parent | Infrastruktur Gets the parent container. | |
Properties | Infrastruktur Gets a IDTSProperties100 collection that contains the properties associated with the task. | |
StartTime | Infrastruktur Gets the time that the container began execution. | |
StopTime | Infrastruktur Gets the time that the container ended execution. | |
SuspendRequired | Infrastruktur Gets or set a value that indicates whether the task should suspend when they encounter a breakpoint. | |
TransactionOption | Infrastruktur Gets or sets a DTSTransactionOption enumeration that indicates whether the container participates in transactions. | |
VariableDispenser | Infrastruktur Gets a IDTSVariableDispenser100 object so variables associated with the container can be locked. | |
Variables | Infrastruktur Gets a collection that contains the variables associated with this container. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
AcceptBreakpointManager | Infrastruktur This method is called by the run-time engine when a task or container is created. | |
ComputeExpressions | Infrastruktur Computes expressions of the TaskHostClass object. | |
Equals | (Geerbt von Object.) | |
Execute | Infrastruktur Runs the application. | |
Finalize | (Geerbt von Object.) | |
GetExpression | Infrastruktur Returns a string that contains the expression for the specified property. | |
GetHashCode | (Geerbt von Object.) | |
GetParentID | Infrastruktur Returns the parent identifier of the TaskHostClass object. | |
GetType | (Geerbt von Object.) | |
IDTSSuspend100_ResumeExecution | Infrastruktur Resumes the suspend execution. | |
IDTSSuspend100_SuspendExecution | Infrastruktur Suspends the execution. | |
LoadFromXML | Infrastruktur Loads a package saves as XML format. | |
MemberwiseClone | (Geerbt von Object.) | |
RegenerateID | Infrastruktur Creates a new GUID for the sequence. | |
ResumeExecution | Infrastruktur Resumes execution of the task after pausing. | |
SaveToXML | Infrastruktur Saves the package to XML format. | |
SetExpression | Infrastruktur Assigns the specified expression to the property. | |
SuspendExecution | Infrastruktur Called when the executable needs to suspend. | |
ToString | (Geerbt von Object.) | |
Validate | Infrastruktur Allows the package to determine if it contains invalid settings that will prevent it from executing successfully. |
Zum Anfang
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.