While Loop |
“While Loop”操作用于指定一个操作或一组操作,只要继续满足指定条件,Integration Service 就将继续按顺序执行此组操作。
You can configure the following properties for the While Loop action:
操作
名称: 指定操作的名称。 如果需要,可以通过在字段中键入新名称来替换默认名称。
描述: 用于保存操作的描述。
Run While: 用于指定希望 Integration Service 在组中继续执行操作的时间。
始终: Specifies that the Integration Service will continue to run each action in the group until a Stop or Go To action within the group is executed.
从不: 指定 Integration Service 在运行集成时将不会在组中运行操作。
Conditionally, based on variable: Specifies that the Integration Service will continue executing the actions in the group for as long as the selected variable meets the specified condition. 在仅有一个条件可以确定是否运行操作的情况下才可使用此选项。 只要启用了此选项,就可以在提供的输入框中创建条件语句。
根据表达式,在一定条件下: Specifies the conditions under which the Integration Service will continue executing the actions in the group. 此选项在需要不只一个条件语句的情况下使用。 只要启用了此选项,就可以通过创建所需的条件语句在提供的输入框中创建条件表达式。 You create and edit your conditional expression on the Tree View tab. Click the Text View tab to see a read-only text view of the conditional expression.
用户帐户
Inherit from parent action: When enabled, the action inherits the user account credentials specified on the Actions property page. Alternatively, if the action is part of a Group action, it will inherit the user account credentials specified on the immediate parent Group action’s property page.
指定用户凭据: 启用此选项后,会使用指定的凭据运行操作。
错误处理和诊断
Ignore errors and continue running actions: 启用此选项后,指定如果操作失败,那么会继续运行其余操作。
|
如果未启用此属性,并且操作失败,那么产生的行为取决于以下方案:
If the selected action is within a Group action, no actions outside of that Group action are affected. |