从包内读取 SSIS 包文件名(包部署) [英] Read SSIS Package File Name From Within Package (Package Deployment)

查看:32
本文介绍了从包内读取 SSIS 包文件名(包部署)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Visual Studio SSDT 2012 中使用包部署模型创建了一个 SSIS 包.有什么方法可以从包内以只读变量或属性的形式访问包的文件名?

I created a SSIS Package in Visual Studio SSDT 2012, using Package Deployment model. Is there any way to get access to the package's file name as a readonly variable or property from within the package?

我没有看到它被列为系统变量,有什么办法可以通过脚本任务吗?

I don't see it listed as a system variable, is there any way maybe through the script task?

推荐答案

我觉得你需要检查 [System::PackageName] 名称中的系统变量,如果要重命名包名称,则必须更改属性.我附上了截图供您参考.选择变量 ,属性.

I think you need to check System variables in the name of [System::PackageName], if you want to rename the package name,then you have to change the Properties. I've attached screenshots for your reference. Select Variables , Properties.

这篇关于从包内读取 SSIS 包文件名(包部署)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆