设置多个变量 |
“设置多个变量”操作设置一个或多个变量的值,包含现有变量或指定的新变量在内。
You can configure the following properties for the Set Multiple Variables action:
操作
名称: 指定操作的名称。 如果需要,可以通过在字段中键入新名称来替换默认名称。
描述: 用于保存操作的描述。
Run Action: 用于指定希望运行操作的频率。
始终: 指定 Integration Service 将在每次运行集成时运行操作。
从不: 指定 Integration Service 将不会在运行集成时运行操作。
Conditionally, based on variable: Specifies that the Integration Service will run the action only when a selected variable meets a specified condition. 在仅有一个条件可以确定是否运行操作的情况下才可使用此选项。 只要启用了此选项,就可以在提供的输入框中创建条件语句。
根据表达式,在一定条件下: Specifies the conditions under which the Integration Service will run the action. 此选项在需要不只一个条件语句的情况下使用。 只要启用了此选项,就可以通过创建所需的条件语句在提供的输入框中创建条件表达式。 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.
变量
Add Variable: Click Add Variable to begin defining the first desired variable. Available only when no variables have previously been added.
添加: Click Add to define another variable. Available only after at least one variable has been added.
Variables: The Variables list displays each variable that has been added. Click on a variable in the list to view its Name and Value properties.
名称: Displays the name of the variable currently selected in the Variables list. 如果需要,在文本框中键入新名称。 Alternatively, you can add a variable to define the variable name.
值: Specifies the value for the variable currently selected in the Variables list. 如果需要,在文本框中键入新值。
导入: 打开“打开文件”对话框,浏览到包含希望分配给变量的值的文件并选中。 选择此选项后,系统会将该文件的内容导入到“值”字段中。
导出: 打开“保存文件”对话框以便将“值”字段中的内容另存为外部文件。 可以将值另存为新文件或替换现有文件的内容。