EventHandlerClass クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
パッケージやその他のコンテナ上のコンテナで、特定のイベントが発生する際に実行可能なオブジェクトを保持します。
public ref class EventHandlerClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::EventHandler, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSBreakpointSite100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSContainer100, 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::IDTSSequence100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("C41382ED-0293-4D63-AD59-7C92B5911CB1")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class EventHandlerClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.EventHandler, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, 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.IDTSSequence100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("49FE416D-E513-49F9-A292-6311CF05A643")]
public class EventHandlerClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.EventHandler, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, 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.IDTSSequence100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("38E200B8-D503-46DF-9307-019C8FB19D37")]
public class EventHandlerClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.EventHandler, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, 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.IDTSSequence100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("C41382ED-0293-4D63-AD59-7C92B5911CB1")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
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
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("49FE416D-E513-49F9-A292-6311CF05A643")>]
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
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("38E200B8-D503-46DF-9307-019C8FB19D37")>]
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
Public Class EventHandlerClass
Implements EventHandler, IDTSBreakpointSite100, IDTSContainer100, IDTSExecutable100, IDTSExecutionMetrics100, IDTSName100, IDTSPersist100, IDTSPropertiesProvider100, IDTSRuntimeObject100, IDTSSequence100
- 継承
-
EventHandlerClass
- 属性
- 実装
注釈
詳細については、DtsEventHandlerを参照してください。
コンストラクター
| 名前 | 説明 |
|---|---|
| EventHandlerClass() |
EventHandlerClass クラスの新しいインスタンスを初期化します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| CreationName |
ランタイムエンジンが EventHandlerClassのインスタンスを作成するために使う名前を得ます。 このプロパティは読み取り専用です。 |
| DebugMode |
ブーリアンを取得したり設定したりし、タスクがブレークポイントが有効になっているかどうかを確認する必要があります。 |
| DelayValidation |
タスクの検証が実行時まで遅延されるかどうかを示すブール値を取得または設定します。 既定値は false です。 |
| Description |
EventHandlerClassオブジェクトの記述を取得するか設定します。 |
| Disable |
EventHandlerClassオブジェクトが無効化されているかどうかを示すブール値を取得します。 |
| Executables |
このコンテナ内に実行可能なオブジェクトの集合を取得し、イベントが発生すると実行されます。 このプロパティは読み取り専用です。 |
| ExecutionDuration |
コンテナが実行に費やした時間(ミリ秒単位)を示す値が得られます。 このプロパティは読み取り専用です。 |
| ExecutionResult |
EventHandlerClassオブジェクトの実行の成功または失敗を示す値が付与されます。 |
| ExecutionStatus |
呼び出し時点の EventHandlerClass オブジェクトの実行状況を示す値を得ます。 |
| FailPackageOnFailure |
子コンテナが失敗したときにパッケージが失敗するかどうかを示すブール値を取得または設定します。 この特性は容器に使われており、パッケージ自体には適用されません。 |
| FailParentOnFailure |
子コンテナが失敗したときに親コンテナが失敗するかどうかを示すブール値を取得または設定します。 |
| ForcedExecutionValue |
ForceExecutionValueプロパティがtrueに設定されている場合、パッケージが返すオプションの実行値を指定する値を得たり設定したりします。 |
| ForceExecutionResult |
コンテナの強制実行結果を指定する DTSForcedExecResult 列挙値を取得または設定します。 |
| ForceExecutionValue |
コンテナの実行値に特定の値を強制的に含めるべきかどうかを示すブール値を取得または設定します。 |
| ID |
EventHandlerClassのID(GUID)を取得します。 値は読み取り専用です。 |
| IDTSSuspend100_SuspendRequired |
ブレークポイントに遭遇したタスクを停止すべきかどうかを示すブール値を取得または設定します。 この値は、ブレークポイントが発生した際にランタイムエンジンがタスクやコンテナに対して設定します。 |
| IsDefaultLocaleID |
コンテナがデフォルトのロケーションを使用しているかどうかを示すブール値を取得します。 このプロパティは読み取り専用です。 |
| IsolationLevel |
EventHandlerClassオブジェクト内のトランザクションの分離レベルを取得するか設定します。 |
| LocaleID |
EventHandlerClassオブジェクトを実行する際に使うMicrosoft Win32® localeIDを示す整数を取得します。 |
| LogEntryInfos |
ログエントリ定義のコレクションを取得します。 このプロパティは読み取り専用です。 |
| LoggingMode |
コンテナのログモードを示す DTSLoggingMode 列挙から値を取得または設定します。 |
| LoggingOptions |
コンテナのフィルタリングおよびログリソースを示すプロパティを含むオブジェクトを取得します。 このプロパティは読み取り専用です。 |
| MaximumErrorCount |
EventHandlerClassオブジェクトが停止する前に発生する最大エラー数を指定する整数値を取得または設定します。 |
| Name |
EventHandlerClassの名前を取得または設定します。 |
| Parent |
親コンテナを手に入れます。 値は読み取り専用です。 |
| PrecedenceConstraints |
このコンテナ内の実行可能オブジェクトに対して、先行制約(あれば)の集合を取得します。 このプロパティは読み取り専用です。 |
| Properties |
IDTSProperty100 オブジェクトのコレクションを取得します。 このプロパティは読み取り専用です。 |
| StartTime |
コンテナが実行を開始した時点での時間が分かります。 このプロパティは読み取り専用です。 |
| StopTime |
コンテナが実行を停止した時点での時間が取れます。 このプロパティは読み取り専用です。 |
| SuspendRequired |
ブレークポイントに遭遇したタスクを停止すべきかどうかを示すブール値を取得または設定します。 この値は、ブレークポイントが発生した際にランタイムエンジンがタスクやコンテナに対して設定します。 |
| TransactionOption |
コンテナがトランザクションに参加するかどうかを示す値を取得または設定します。 |
| VariableDispenser |
コンテナに関連付けられた変数を読み書きのためにロックできる変数ディスペンサーオブジェクトを取得します。 |
| Variables |
このコンテナに関連付けられた変数を含むコレクションオブジェクトを取得します。 このプロパティは読み取り専用です。 |
メソッド
| 名前 | 説明 |
|---|---|
| AcceptBreakpointManager(IDTSBreakpointManager100) |
タスクに一 IDTSBreakpointManager100 を渡す。 タスクはブレークポイントマネージャーを使ってブレークポイントの作成、削除、状態を確認します。 このメソッドはランタイムによって呼び出され、コードでは使用されません。 |
| ComputeExpressions(Boolean) |
この EventHandlerClass オブジェクトの式を計算します。 |
| Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object) |
アプリケーション、コンテナ、またはパッケージをパッケージワークフローの一部として実行します。 |
| GetExpression(String) |
指定された性質の式を返し、式が割り当てられない場合はnullを返します。 |
| GetParentID() |
このコンテナの親識別子を取得します。 |
| IDTSSuspend100_get_SuspendRequired() |
パッケージやその他のコンテナ上のコンテナで、特定のイベントが発生する際に実行可能なオブジェクトを保持します。 |
| IDTSSuspend100_ResumeExecution() |
一時停止した後、作業の実行を再開する。 タスクまたはコンテナはランタイムエンジンによって再開されます。 |
| IDTSSuspend100_set_SuspendRequired(Boolean) |
パッケージやその他のコンテナ上のコンテナで、特定のイベントが発生する際に実行可能なオブジェクトを保持します。 |
| IDTSSuspend100_SuspendExecution() |
実行ファイルが一時停止する必要があることを通知します。 このメソッドはランタイムエンジンによって呼び出されます。 |
| LoadFromXML(Object, IDTSEvents100) |
指定されたXMLドキュメントから EventHandlerClass を読み込みます。 |
| RegenerateID() |
コンテナ用の新しいGUIDを作成し、コンテナIDプロパティを更新します。 |
| ResumeExecution() |
一時停止した後、作業の実行を再開する。 タスクまたはコンテナはランタイムエンジンによって再開されます。 |
| SaveToXML(Object, Object, IDTSEvents100) |
指定されたXMLドキュメントに EventHandlerClass を保存します。 |
| SetExpression(String, String) |
指定された式をプロパティに割り当てます。 nullを指定して、プロパティから既存の式を削除します。 |
| SuspendExecution() |
実行ファイルが一時停止する必要があることを通知します。 このメソッドはランタイムエンジンによって呼び出されます。 |
| Validate(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100) |
コンテナが実行を妨げる無効な設定が含まれているかどうかを判断できるようにします。 |