Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Ats
Starting Member
32 Posts |
Posted - 2010-03-12 : 05:50:27
|
I am creating a script task in Bids and I get the error message name 'dts' is not declared. does anyone have an idea on how to change script Imports SystemImports System.DataImports System.MathImports Microsoft.SqlServer.Dts.RuntimePublic Class ScriptMain Public Sub Main() ' ' Set BulkFile connection to gvBulkFile global variable ' dts.Connections.Item("BulkFile").ConnectionString = dts.Variables.Item("FileName").Value.ToString() ' Success dts.TaskResult = dts.Results.Success End SubEnd Class |
|
|
|
|