如何找到 SSIS 2008 R2 包中使用的 .NET 框架版本? [英] How do I find the .NET framework version used in an SSIS 2008 R2 package?
问题描述
如何找到 SSIS 2008 R2 包中使用的 .NET 框架版本?
How do I find the .NET framework version used in an SSIS 2008 R2 package?
推荐答案
现在您可能已经找到了问题的答案.这是为其他可能偶然发现这个问题的人准备的.这是找出 SSIS 包使用的 .NET 版本的一种可能方法.可以在 Script Task
的帮助下找到版本.以下示例显示了如何做到这一点.此示例使用 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 包的
Control Flow
选项卡上,放置一个Script Task
,如屏幕截图 #1 所示.
On the SSIS package's
Control Flow
tab, place aScript Task
as shown in screenshot #1.
双击Script Task
以打开Script Task Editor,如屏幕截图#2 所示.您也可以右键单击 Script Task
并选择 Edit...
选项以打开 Script Task Editor
.
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
.
在脚本任务编辑器
上,点击编辑脚本...按钮.这将打开一个带有 Script Task
代码的新 IDE,如屏幕截图 #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.
在Script Task code IDE
上,点击菜单View
--> Project Explorer
打开项目资源管理器显示在屏幕截图 #4 中.
On the Script Task code IDE
, click on the menu View
--> Project Explorer
to open the project explorer as shown in screenshot #4.
在 Project Explorer
上,双击 Properties
打开属性面板,如截图 #5.
On the Project Explorer
, double-click on the Properties
to open the properties pane as shown in the screenshot #5.
Target Framework 字段位于屏幕截图 #6Properties 窗格的 Application
部分> 应显示 .NET 框架版本.
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 框架版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!