ForLoopClass 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供使用迭代语句在包中定义迭代工作流的容器。
public ref class ForLoopClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ForLoop, 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::IDTSForLoop100, 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("598B412F-4036-41DD-8F5C-83DED7CE6CCC")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ForLoopClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForLoop, 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.IDTSForLoop100, 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("20DB93E9-2961-4CB1-A696-4EFD0104B005")]
public class ForLoopClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForLoop, 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.IDTSForLoop100, 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("F8820007-A986-4DE8-8378-45CC12A343C2")]
public class ForLoopClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForLoop, 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.IDTSForLoop100, 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("598B412F-4036-41DD-8F5C-83DED7CE6CCC")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ForLoopClass = class
interface IDTSExecutable100
interface ForLoop
interface IDTSForLoop100
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("20DB93E9-2961-4CB1-A696-4EFD0104B005")>]
type ForLoopClass = class
interface IDTSExecutable100
interface ForLoop
interface IDTSForLoop100
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("F8820007-A986-4DE8-8378-45CC12A343C2")>]
type ForLoopClass = class
interface IDTSExecutable100
interface ForLoop
interface IDTSForLoop100
interface IDTSContainer100
interface IDTSSequence100
interface IDTSEventsProvider100
interface IDTSExecutionMetrics100
interface IDTSPropertiesProvider100
interface IDTSBreakpointSite100
interface IDTSSuspend100
interface IDTSPersist100
interface IDTSRuntimeObject100
interface IDTSName100
Public Class ForLoopClass
Implements ForLoop, IDTSBreakpointSite100, IDTSContainer100, IDTSEventsProvider100, IDTSExecutionMetrics100, IDTSForLoop100, IDTSName100, IDTSPersist100, IDTSPropertiesProvider100, IDTSRuntimeObject100, IDTSSequence100
- 继承
-
ForLoopClass
- 属性
- 实现
注解
有关详细信息,请参阅 ForLoop。
构造函数
ForLoopClass() |
初始化 ForLoopClass 类的新实例。 |
属性
AssignExpression |
获取或设置用于递增或递减循环计数器的表达式。 |
CreationName |
返回运行时用于创建对象实例的名称,如果存在该对象的集合,则将该对象添加到集合。 此属性为只读。 |
DebugMode |
获取或设置一个布尔值,该值指示任务是否应检查是否启用了断点。 |
DelayValidation |
获取或设置一个值,该值指示是否将任务的验证推迟到运行时。 |
Description |
获取或设置有关对象的说明。 |
Disable |
获取或设置一个值,该值指示是否禁用 IDTSContainer100 对象。 |
DisableEventHandlers |
获取或设置一个布尔值,该值指示是否禁用任务上的事件处理程序。 |
EvalExpression |
获取或设置对每次循环进行计算的表达式。 |
EventHandlers |
返回事件处理程序对象的集合。 此字段为只读。 |
EventInfos |
返回 IDTSEventInfo100 对象的集合。 此字段为只读。 |
Executables |
返回在 ForLoopClass 迭代期间处理的可执行对象的集合。 |
ExecutionDuration |
返回一个值,该值指示在容器中执行所需的时间(毫秒)。 此属性为只读。 |
ExecutionResult |
获取一个值,该值指示 IDTSContainer100 对象执行是成功还是失败。 |
ExecutionStatus |
获取在调用时 IDTSContainer100 对象执行的当前状态。 |
FailPackageOnFailure |
获取或设置一个值,该值指示在子容器失败时包是否失败。 |
FailParentOnFailure |
获取或设置一个值,该值指示在子容器失败时父容器是否失败。 |
ForcedExecutionValue |
如果 ForceExecutionValue 为 true,则获取或设置一个值,该值指定包返回的可选执行值。 |
ForceExecutionResult |
获取或设置容器的强制执行结果。 |
ForceExecutionValue |
获取或设置一个值,该值指示容器的执行值是否应强制包含特定值。 |
ID |
返回分配给对象的唯一 ID。 这通常是 GUID。 此属性为只读。 |
IDTSSuspend100_SuspendRequired |
获取或设置一个布尔值,该值指示在遇到断点时任务是否应挂起。 遇到断点时,将由任务和容器的运行时引擎设置此值。 |
InitExpression |
获取或设置可选的初始化表达式。 |
IsDefaultLocaleID |
获取一个值,该值指示容器是否使用默认区域设置。 |
IsolationLevel |
获取或设置 IDTSContainer100 对象中事务的隔离级别。 |
LocaleID |
获取或设置在执行 IDTSContainer100 对象时要使用的区域设置的标识符。 |
LogEntryInfos |
获取与某一日志条目有关的信息的集合。 |
LoggingMode |
获取或设置容器的日志记录模式。 |
LoggingOptions |
获取一个对象,该对象包含指示容器的筛选和日志记录资源的属性。 |
MaximumErrorCount |
获取或设置容器停止运行前可以出现的最大错误数。 |
Name |
获取或设置分配给对象的名称。 |
Parent |
获取容器的父级。 |
PrecedenceConstraints |
返回 IDTSPrecedenceConstraints100 集合。 此字段为只读。 |
Properties |
将 ForLoopClass 的一组属性返回到 IDTSProperties100 集合。 |
StartTime |
返回容器开始执行的时间。 此属性为只读。 |
StopTime |
返回容器结束执行的时间。 此属性为只读。 |
SuspendRequired |
获取或设置一个布尔值,该值指示在遇到断点时任务是否应挂起。 遇到断点时,将由任务和容器的运行时引擎设置此值。 |
TransactionOption |
获取或设置一个 DTSTransactionOption 枚举值,该值指示容器是否参与事务。 |
VariableDispenser |
获取一个 IDTSVariableDispenser100 对象,以便可以锁定与容器关联的变量。 |
Variables |
获取一个集合,其中包含与此容器关联的变量。 |