如何找到在SSIS 2008 R2包所使用的.NET framework版本? [英] How do I find the .NET framework version used in an SSIS 2008 R2 package?
问题描述
我如何找到一个SSIS 2008 R2包所使用的.NET framework版本?
How do I find the .NET framework version used in an SSIS 2008 R2 package?
推荐答案
您可能已经找到了问题的答案现在。这是给别人谁可能偶然发现了这个问题。这里是要找出使用SSIS包的.NET版本一种可能的方式。版本可以用脚本任务
的帮助下找到。下面的示例演示了如何可以做到这一点。本例中使用 SSIS 2008 R2
。
You have probably found an answer to your question by now. This is for others who might stumble upon this question. Here is one possible way to find out the .NET version used by an SSIS package. Version can be found with the help of a Script Task
. Following example shows how this can be done. This example uses SSIS 2008 R2
.
一步一步的过程:
-
在SSIS包的
控制流量
设置页,将脚本任务
所示的屏幕截图< STRONG> 1
On the SSIS package's
Control Flow
tab, place aScript Task
as shown in screenshot #1.
双击上的脚本任务
,弹出脚本任务编辑器作为显示在屏幕截图 2 。您也可以在脚本任务右键单击
,然后选择编辑...
选项,弹出脚本任务编辑器
。
Double-click on the Script Task
to bring up the Script Task Editor as shown in screenshot #2. You can also right-click on the Script Task
and select Edit...
option to bring up the Script Task Editor
.
在脚本任务编辑器
,点击修改脚本... 按钮。这将打开一个新的IDE与脚本任务
code,如图截图# 3 。
On the Script Task Editor
, click the Edit Script... button. This will open a new IDE with the Script Task
code as shown in screenshot #3.
在脚本任务code IDE
,点击菜单上的查看
- > 工程资源管理器
打开项目资源管理器,如图截图# 4
On the Script Task code IDE
, click on the menu View
--> Project Explorer
to open the project explorer as shown in screenshot #4.
在工程资源管理器
,双击在属性
打开属性面板,如图在截图# 5
On the Project Explorer
, double-click on the Properties
to open the properties pane as shown in the screenshot #5.
目标框架在应用领域
的属性
窗格中的部分截图#显示 6 应显示.NET framework版本。
Target Framework field on the Application
section of the Properties
pane shown in the screenshot #6 should display the .NET framework version.
希望有所帮助。
截图#1:
截图#2:
截图#3:
截图#4:
截图#5:
截图#6:
这篇关于如何找到在SSIS 2008 R2包所使用的.NET framework版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!