Project level and Package level parameters are available in SSIS 2012 and later versions of SSIS. We use them in SSIS Package so we can change the values of these parameters by using SSIS Configuration.
Project Level Parameters are available to all the packages in the project but the scope of Package Level Parameters are limited to the package in which they are created.
In this video we will learn the following Items
How to Create Project Level parameters in SSIS Project
How to create Package Level Parameters in SSIS Package
How to Select Project Level and Package Level Parameters in Script Task
How to save Project Level and Package Level Parameter values to local variables in Script Task
How to use C# and VB.Net in Script Task and save the value of Package Level and Project Level Parameters to local variables
How to use Project Level and Package Level Parameters in Script Task with C#
How to use Project Level and Package Level Parameters in Script Task with VB.Net
Project Level Parameters are available to all the packages in the project but the scope of Package Level Parameters are limited to the package in which they are created.
In this video we will learn the following Items
How to Create Project Level parameters in SSIS Project
How to create Package Level Parameters in SSIS Package
How to Select Project Level and Package Level Parameters in Script Task
How to save Project Level and Package Level Parameter values to local variables in Script Task
How to use C# and VB.Net in Script Task and save the value of Package Level and Project Level Parameters to local variables
How to use Project Level and Package Level Parameters in Script Task with C#
public void Main() { string ServerName; string SourceFolder; string PackageLevelParameter; ServerName = Dts.Variables["$Project::ServerName"].Value.ToString(); SourceFolder = Dts.Variables["$Project::SourceFolder"].Value.ToString(); PackageLevelParameter = Dts.Variables["$Package::PackageLevelParameter"].Value.ToString(); // TODO: Add your code here MessageBox.Show(ServerName + SourceFolder + PackageLevelParameter); Dts.TaskResult = (int)ScriptResults.Success; }
How to use Project Level and Package Level Parameters in Script Task with VB.Net
Public Sub Main() Dim ServerName As String Dim SourceFolder As String Dim PkgLevel As String ServerName = Dts.Variables("$Project::ServerName").Value.ToString() SourceFolder = Dts.Variables("$Project::SourceFolder").Value.ToString() PkgLevel = Dts.Variables("$Package::PackageLevelParameter").Value.ToString() MessageBox.Show(ServerName + SourceFolder + PkgLevel) ' Add your code here ' Dts.TaskResult = ScriptResults.Success End Sub
Package Level Parameter and Project Level Parameter in Script Task in SSIS Package
Related Posts/Videos on Script Task
- Script Task - How to use Variables in Script Task by using C# or VB NET Scripting Language
- Script Task - How to Run Stored Procedure in Script Task in SSIS Package and log FTP Folder Names to SQL Server Table
- How to display variable value from Script Task in SSIS Package
- How to use ReadOnlyVariables and ReadWriteVariables feature in Script Task
- How to Delete Top N Rows from Flat File Source
I was so happy to read this article. Thankyou so much for good article.
ReplyDeleteWordpress Training in Chennai
Wordpress Training in T Nagar
Wordpress Training in OMR
Wordpress Training in Velachery
Wordpress Training in Tambaram
Struts Training in Chennai
Spring Training in Chennai
Hibernate Training in Chennai
Really nice blog,i enjoyed your infomations. Thank you and i will expect more in future.
ReplyDeleteJAVA Training in Chennai
JAVA Training in Velachery
Software testing training in chennai
Android Training in Chennai
Selenium Training in Chennai
Hadoop Training in Chennai
JAVA Training in Annanagar
java training in chennai anna nagar
Wonderful post and I hope you more updates from your blog. Thanks to you...
ReplyDeleteJMeter Training in Chennai
JMeter Training
Spark Training in Chennai
Pega Training in Chennai
Power BI Training in Chennai
Job Openings in Chennai
Linux Training in Chennai
Oracle Training in Chennai
Tableau Training in Chennai
Oracle DBA Training in Chennai
JMeter Training in Velachery
9x flicks
ReplyDeleteHere is the details of best BSc Medical Imaging Technology Colleges in Bangalore. You can get the college details from the below link. BSc Medical Imaging Technology Course is one of the best demanding course in recent times in India
ReplyDeleteBSc Medical Imaging Technology Colleges In Bangalore
Christian College Bangalore providing BSc Medical Imaging Technology Course. Here is the link about the details of BSc Medical Imaging Technology. You can click the below link for more information about BSc Medical Imaging Technology.
ReplyDeleteBSc Cardiac Care Technology Colleges In Bangalore
Christian College Bangalore providing BSc Optometry Course. Here is the link about the details of BSc Optometry. You can click the below link for more information about BSc Optometry. BSc Optometry is one of the most demanding course in recent times.
ReplyDeleteOptometry Colleges In Bangalore
GrueBleen is one of the Branding and Marketing agency Based in Riyadh- Saudi Arabia. The main functions of GrueBleen is Advertising, Branding, Marketing, Office Branding, Exhibition Management and Digital Marketing. Visit the below link to know more about GrueBleen Creative Club.
ReplyDeleteBranding Agency Riyadh
Marketing Agency Riyadh
Wow i can say that this is another great article as expected of this blog. Thanks a million and please keep up the effective work.
ReplyDeleteVisit us for Customised Credit Card Shaped Pen Drive.
Learned a lot of new things in this post. Thanks for taking the time to share this blog..
ReplyDeletecloud computing skills
scope of automation
google digital marketing certification
technical skills required for cloud computing
node js questions and answers
thanks for your information really good and very nice The Best Result Driven Digital Marketing Agency in Chennai
ReplyDeleteAivivu chuyên vé máy bay, tham khảo
ReplyDeleteVe may bay di My
vé máy bay đà lạt hà nội tháng 11
vé máy bay đăk lăk đi sài gòn
giá vé đi nha trang
chuyến bay từ mỹ về việt nam 2021
thuê xe đi sân bay nội bài
combo quy nhơn 3 ngày 2 đêm 2021
Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. plant operator agency
ReplyDelete
ReplyDeleteVery informative and helpful. Thank You for sharing the blog.
JMeter training in chennai | JMeter course online
It is imperative that we read blog post very carefully. I am already done it and find that this post is really amazing.
ReplyDeletecall conferencing software