ForEachLoopClass 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供一个容器,利用 foreach 迭代语句定义包中的迭代工作流。
public ref class ForEachLoopClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ForEachLoop, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSBreakpointSite100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSContainer100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEventsProvider100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExecutionMetrics100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSForEachLoop100, 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("C2DA94B4-782A-4F02-8532-B79F2F17EF2C")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ForEachLoopClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachLoop, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachLoop100, 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("8D9B72A5-CF6C-43F6-810D-BA54BE7CDF5A")]
public class ForEachLoopClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachLoop, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachLoop100, 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("B4239650-285C-4F45-8F7B-759C3009A565")]
public class ForEachLoopClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachLoop, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointSite100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSContainer100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventsProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutionMetrics100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachLoop100, 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("C2DA94B4-782A-4F02-8532-B79F2F17EF2C")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ForEachLoopClass = class
interface IDTSExecutable100
interface ForEachLoop
interface IDTSForEachLoop100
interface IDTSContainer100
interface IDTSSequence100
interface IDTSEventsProvider100
interface IDTSExecutionMetrics100
interface IDTSPropertiesProvider100
interface IDTSBreakpointSite100
interface IDTSSuspend100
interface IDTSPersist100
interface IDTSRuntimeObject100
interface IDTSName100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("8D9B72A5-CF6C-43F6-810D-BA54BE7CDF5A")>]
type ForEachLoopClass = class
interface IDTSExecutable100
interface ForEachLoop
interface IDTSForEachLoop100
interface IDTSContainer100
interface IDTSSequence100
interface IDTSEventsProvider100
interface IDTSExecutionMetrics100
interface IDTSPropertiesProvider100
interface IDTSBreakpointSite100
interface IDTSSuspend100
interface IDTSPersist100
interface IDTSRuntimeObject100
interface IDTSName100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("B4239650-285C-4F45-8F7B-759C3009A565")>]
type ForEachLoopClass = class
interface IDTSExecutable100
interface ForEachLoop
interface IDTSForEachLoop100
interface IDTSContainer100
interface IDTSSequence100
interface IDTSEventsProvider100
interface IDTSExecutionMetrics100
interface IDTSPropertiesProvider100
interface IDTSBreakpointSite100
interface IDTSSuspend100
interface IDTSPersist100
interface IDTSRuntimeObject100
interface IDTSName100
Public Class ForEachLoopClass
Implements ForEachLoop, IDTSBreakpointSite100, IDTSContainer100, IDTSEventsProvider100, IDTSExecutionMetrics100, IDTSForEachLoop100, IDTSName100, IDTSPersist100, IDTSPropertiesProvider100, IDTSRuntimeObject100, IDTSSequence100
- 继承
-
ForEachLoopClass
- 属性
- 实现
构造函数
| 名称 | 说明 |
|---|---|
| ForEachLoopClass() |
初始化 ForEachLoopClass 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| CreationName |
返回用于创建该对象实例 ForEachLoopClass 的字符串。 此属性为只读。 |
| DebugMode |
获取或设置一个布尔值,指示对象是否 ForEachLoopClass 处于调试模式,以及运行时是否应触发 OnBreakpointHit(IDTSBreakpointSite100, IDTSBreakpointTarget100) 事件。 |
| DelayValidation |
获得或设置一个布尔值,指示任务验证是否延迟到运行时。 默认值为 false。 |
| Description |
获取或设置对象的 ForEachLoopClass 描述。 |
| Disable |
获得一个布尔值,表示该对象是否 ForEachLoopClass 被禁用。 |
| DisableEventHandlers |
获得一个布尔值,指示任务上的事件处理程序是否被禁用。 |
| EventHandlers |
获得一组事件处理对象。 此字段是只读的。 |
| EventInfos |
获取对象的集合 IDTSEventInfo100 。 此字段是只读的。 |
| Executables |
获得一组可执行对象。 |
| ExecutionDuration |
返回一个值,表示容器执行时耗时的时间,单位为毫秒。 此属性为只读。 |
| ExecutionResult |
返回一个表示对象执行 ForEachLoopClass 成功或失败的值。 |
| ExecutionStatus |
返回一个值,表示调用时对象执行状态的当前状态 ForEachLoopClass 。 |
| FailPackageOnFailure |
获得或设置一个布尔值,表示子容器失败时包是否失败。 |
| FailParentOnFailure |
获取或设置一个布尔值,定义父容器在子容器失败时是否失败。 |
| ForcedExecutionValue |
如果 ForceExecutionValue 属性设置为 true,则会得到或设置一个值,指定包返回的可选执行值。 |
| ForceExecutionResult |
获取或设置一个 DTSExecResult 枚举值,指定容器的强制执行结果。 |
| ForceExecutionValue |
获取或设置一个布尔值,指示容器的执行值是否应强制包含某个特定值。 |
| ForEachEnumerator |
为 获得或设置一个宿主。IDTSForEachEnumerator100 |
| ID |
获取 . 的 ForEachLoopClassGUID。 该值为只读。 |
| IDTSSuspend100_SuspendRequired |
获得或设置一个布尔值,指示任务在遇到断点时是否应暂停。 当遇到断点时,运行时引擎为任务和容器设置该值。 |
| IsDefaultLocaleID |
一个布尔值,表示容器是否使用默认位置。 此属性为只读。 |
| IsolationLevel |
获取或设置对象中 ForEachLoopClass 交易的隔离级别。 |
| LocaleID |
获取或设置一个整数,指示执行对象时ForEachLoopClass使用的 Microsoft Win32® localeID。 |
| LogEntryInfos |
获取 IDTSLogEntryInfos100 容器的对象。 此属性为只读。 |
| LoggingMode |
从枚举中获取或设置一个有效值 DTSLoggingMode ,指示容器的日志模式。 |
| LoggingOptions |
获取一个包含属性的对象,指示容器的过滤和日志资源。 此属性为只读。 |
| MaximumErrorCount |
获取或设置一个整数值,表示在停止运行前 ForEachLoopClass 可能发生的最大错误次数。 |
| Name |
获取或设置 . 的名称 ForEachLoopClass。 |
| Parent |
拿到父容器。 该值为只读。 |
| PrecedenceConstraints |
得到 IDTSPrecedenceConstraints100 一个包含所有与 相关的 ForEachLoop优先约束的集合。 |
| Properties |
返回与 关联的ForEachLoop对象集合IDTSProperty100。 |
| StartTime |
它会得到容器开始执行的时间。 此属性为只读。 |
| StopTime |
它会得到容器执行结束的时间。 此属性为只读。 |
| SuspendRequired |
获得或设置一个布尔值,指示任务在遇到断点时是否应暂停。 当遇到断点时,运行时引擎为任务和容器设置该值。 |
| TransactionOption |
获取或设置一个 DTSTransactionOption 枚举值,指示容器是否参与交易。 |
| VariableDispenser |
获取 IDTSVariableDispenser100 一个对象,这样可以锁定与容器相关的变量。 |
| VariableMappings |
获得 IDTSForEachVariableMappings100 包含变量 ForEachLoop映射的集合。 |
| Variables |
返回包含该容器相关变量的集合。 此属性为只读。 |