SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All, I use the following code in script task in SSIS. This is the first part of the code, When I run this, I get the following error. "cannot execute the script because the script entry point is invalid. " When I hover over args, I can see the following message. "remove unused parameter args"
can anyone tell me how to fix this please. Thanks
#region Namespaces
using System;
using System.Data.SqlClient;
using System.Data;
using Microsoft.SqlServer.Dts.Runtime;
using System.Windows.Forms;
#endregion
namespace ST_3e2bfb6c1ba34b5da9eb15151ce3da7a
{
/// <summary>
/// ScriptMain is the entry point class of the script. Do not change the name, attributes,
/// or parent of this class.
/// </summary>
[Microsoft.SqlServer.Dts.Tasks.ScriptTask.SSISScriptTaskEntryPointAttribute]
public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
{
static void Main(string[] args)
{
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
If the args parameter is not used in your script; you can safely remove it from the method signature:
static void Main()
{