言語

TaskHostClass クラス

定義

詳細については、TaskHostを参照してください。

public ref class TaskHostClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSBreakpointSite100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSContainer100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEventsProvider100, 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::IDTSTaskHost100, Microsoft::SqlServer::Dts::Runtime::Wrapper::TaskHost
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("88144A89-05AE-4303-80F3-A9C83116A367")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class TaskHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, 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.IDTSTaskHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.TaskHost
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("81262D7B-A471-4376-9207-A942CB4AFF67")]
public class TaskHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, 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.IDTSTaskHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.TaskHost
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("72A2DB98-0F77-4014-98F6-8B200D9C083D")]
public class TaskHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, 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.IDTSTaskHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.TaskHost
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("88144A89-05AE-4303-80F3-A9C83116A367")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
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
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("81262D7B-A471-4376-9207-A942CB4AFF67")>]
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
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("72A2DB98-0F77-4014-98F6-8B200D9C083D")>]
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
Public Class TaskHostClass
Implements IDTSBreakpointSite100, IDTSContainer100, IDTSEventsProvider100, IDTSExecutable100, IDTSExecutionMetrics100, IDTSName100, IDTSPersist100, IDTSPropertiesProvider100, IDTSRuntimeObject100, IDTSTaskHost100, TaskHost
継承
TaskHostClass
属性
実装

コンストラクター

名前 説明
TaskHostClass()

TaskHostClass クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
ApartmentThreaded

詳細については、TaskHostを参照してください。

CreationName

TaskHostClassオブジェクトを作成するために使われる文字列を取得します。

DebugMode

TaskHostClassオブジェクトがデバッグモードにあるかどうかを示す値を取得または設定します。

DelayValidation

タスクの検証が実行時まで遅延するかどうかを示す値を取得または設定します。

Description

TaskHostClassオブジェクトの記述を取得するか設定します。

Disable

TaskHostClassオブジェクトが無効化されているかどうかを示す値を取得または設定します。

DisableEventHandlers

タスク上のイベントハンドラが無効化されているかどうかを示す値を取得または設定します。

EventHandlers

イベントハンドラオブジェクトの集合を取得します。

EventInfos

EventInfoオブジェクトのコレクションを取得します。

ExecutionDuration

コンテナが実行に費やした時間を示す値が付与されます。

ExecutionResult

TaskHostClassオブジェクトの実行の成功または失敗を示す値が付与されます。

ExecutionStatus

呼び出し時点の TaskHostClass オブジェクトの実行状況を示す値を得ます。

ExecutionValue

タスク実行の結果を取得します。

ExecValueVariable

タスクの実行値を含むカスタム変数を取得したり設定したりします。

FailPackageOnFailure

子コンテナが失敗したときにパッケージが失敗するかどうかを示す値を取得または設定します。

FailParentOnFailure

子コンテナが失敗したときに親コンテナが失敗するかどうかを示す値を取得または設定します。

ForcedExecutionValue

コンテナで定義された値を含むオブジェクトを取得したり設定したりします。

ForceExecutionResult

コンテナの実行結果を取得するか設定します。

ForceExecutionValue

コンテナの実行値に特定の値を強制的に含めるべきかどうかを示す値を取得または設定します。

HostType

コンテナのホストを記述する DTSObjectHostType 列挙から値を得ます。

ID

DTSForcedExecResultを特定するGUIDを受け取ります。

IDTSContainer100_DelayValidation

検証が遅延しているかどうかを示す値を取得または設定します。

IDTSSuspend100_SuspendRequired

タスクがブレークポイントに遭遇した際に停止すべきかどうかを示す値を取得または設定します。

InnerObject

TaskHostClassに含まれる対象を得ます。

IsDefaultLocaleID

コンテナがデフォルトのロケーションを使用しているかどうかを示す値が付与されます。

IsolationLevel

TaskHostClassの隔離レベルを把握します。

LocaleID

TaskHostClassオブジェクトが実行された際に使うローケールIDを取得したり設定したりします。

LogEntryInfos

オブジェクトのコレクション IDTSLogEntryInfos100 取得します。

LoggingMode

コンテナのログモードを取得するか設定します。

LoggingOptions

コンテナのフィルタリングおよびログリソースを示すプロパティを含むオブジェクトを取得します。

MaximumErrorCount

エラーの最大数を示す値を取得または設定します。

Name

TaskHostClassの名前を取得または設定します。

Parent

親コンテナを手に入れます。

Properties

タスクに関連するプロパティを含む IDTSProperties100 コレクションを取得します。

StartTime

コンテナが実行を開始した時刻を取得できます。

StopTime

コンテナが実行を終了した時刻を取得できます。

SuspendRequired

ブレークポイントに遭遇した際にタスクが一時停止すべきかどうかを示す値を取得または設定します。

TransactionOption

コンテナがトランザクションに参加するかどうかを示す DTSTransactionOption 列挙を取得または設定します。

VariableDispenser

コンテナに関連付けられた変数をロックできるように、 IDTSVariableDispenser100 オブジェクトを取得します。

Variables

このコンテナに関連付けられた変数を含むコレクションを取得します。

メソッド

名前 説明
AcceptBreakpointManager(IDTSBreakpointManager100)

このメソッドは、タスクやコンテナが作成される際にランタイムエンジンによって呼び出されます。

ComputeExpressions(Boolean)

TaskHostClassオブジェクトの式を計算します。

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

アプリケーションを実行します。

GetExpression(String)

指定された性質の表現を含む文字列を返します。

GetParentID()

TaskHostClassオブジェクトの親識別子を返します。

IDTSContainer100_get_DelayValidation()

詳細については、TaskHostを参照してください。

IDTSContainer100_set_DelayValidation(Boolean)

詳細については、TaskHostを参照してください。

IDTSSuspend100_get_SuspendRequired()

詳細については、TaskHostを参照してください。

IDTSSuspend100_ResumeExecution()

執行停止を再開する。

IDTSSuspend100_set_SuspendRequired(Boolean)

詳細については、TaskHostを参照してください。

IDTSSuspend100_SuspendExecution()

処刑を停止する。

LoadFromXML(Object, IDTSEvents100)

パッケージをXML形式で保存します。

RegenerateID()

シーケンス用の新しいGUIDを作成します。

ResumeExecution()

一時停止した後、作業の実行を再開する。

SaveToXML(Object, Object, IDTSEvents100)

パッケージをXML形式に保存します。

SetExpression(String, String)

指定された式をプロパティに割り当てます。

SuspendExecution()

実行ファイルが一時停止される必要があるときに呼び出されます。

Validate(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100)

パッケージが無効な設定が含まれていて、成功裏に実行できないかどうかを判断できるようにします。

適用対象