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 的識別碼 (為 GUID)。 此值是唯讀的。 |
IDTSSuspend100_SuspendRequired |
取得或設定布林值,這個布林值表示當工作遇到中斷點時是否應該暫停。 此值是由執行階段引擎針對工作和容器遇到中斷點時設定的。 |
IsDefaultLocaleID |
取得布林值,指出容器是否使用預設的地區設定。 這是唯讀的屬性。 |
IsolationLevel |
取得或設定 EventHandlerClass 物件中的交易隔離等級。 |
LocaleID |
取得或設定整數,這個整數表示執行物件時要使用的 Microsoft Win32® localeID EventHandlerClass 。 |
LogEntryInfos |
取得記錄項目定義的集合。 這個屬性是唯讀的。 |
LoggingMode |
取得或設定 DTSLoggingMode 列舉中的值,這個值表示容器的記錄模式。 |
LoggingOptions |
取得物件,該物件包含表示容器之篩選和記錄資源的屬性。 這是唯讀的屬性。 |
MaximumErrorCount |
取得或設定整數值,這個值會指定物件停止執行之前,可以發生的錯誤數目上限 EventHandlerClass 。 |
Name |
取得或設定 EventHandlerClass 的名稱。 |
Parent |
取得父容器。 此值是唯讀的。 |
PrecedenceConstraints |
取得在此容器的可執行物件上找到的優先順序條件約束集合 (如果有的話)。 這是唯讀的屬性。 |
Properties |
取得 IDTSProperty100 物件的集合。 這是唯讀的屬性。 |
StartTime |
取得容器開始執行的時間。 這是唯讀的屬性。 |
StopTime |
取得容器停止執行的時間。 這是唯讀的屬性。 |
SuspendRequired |
取得或設定布林值,這個布林值表示當工作遇到中斷點時是否應該暫停。 此值是由執行階段引擎針對工作和容器遇到中斷點時設定的。 |
TransactionOption |
取得或設定值,這個值會指出容器是否參與交易。 |
VariableDispenser |
取得變數分配程式物件,以便鎖定與容器相關聯的變數進行讀取或寫入。 |
Variables |
取得集合物件,其中包含與這個容器相關聯的變數。 這是唯讀的屬性。 |