Ejemplo n.º 1
0
		/// <summary>
		/// Initializes a new instance of the <see cref="DTSPackage2"/> class.
		/// </summary>
		public DTSPackage2()
		{
			try
			{
				oPackage = new DTS.Package2();
				initializeDefaults();
			}
			catch(Exception ex)
			{
				throw ex;
			}
		}
Ejemplo n.º 2
0
		/// <summary>
		/// Initializes a new instance of the <see cref="DTSPackage2"/> class.
		/// </summary>
		/// <param name="name">The name.</param>
		/// <param name="logFile">The log file.</param>
		/// <param name="description">The description.</param>
		public DTSPackage2(string name, string logFile, string description)
		{
			try
			{
				oPackage =  new DTS.Package2();
				initializeDefaults();
				oPackage.Name = name;
				oPackage.LogFileName = logFile;
				oPackage.Description = description;
			}
			catch(Exception ex)
			{
				throw ex;
			}
		}
Ejemplo n.º 3
0
		/// <summary>
		/// Disposes this instance.
		/// </summary>
		public void Dispose()
		{
			oPackage = null;
		}