Application.Upgrade(IEnumerable<UpgradePackageInfo>, StorageInfo, StorageInfo, BatchUpgradeOptions, IDTSEvents) Method

Definition

Upgrades one or more Integration Services packages from a specified source location to a specified destination location.

public Microsoft.SqlServer.Dts.Runtime.UpgradeResult Upgrade (System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dts.Runtime.UpgradePackageInfo> packages, Microsoft.SqlServer.Dts.Runtime.StorageInfo source, Microsoft.SqlServer.Dts.Runtime.StorageInfo destination, Microsoft.SqlServer.Dts.Runtime.BatchUpgradeOptions options, Microsoft.SqlServer.Dts.Runtime.IDTSEvents events);
Parameters
packages
System.Collections.Generic.IEnumerable<UpgradePackageInfo>

The collection of packages to be upgraded.

source
StorageInfo

An StorageInfo object that specifies the source location for the packages to be upgraded.

destination
StorageInfo

The StorageInfo object that specifies the destination location for the packages to be upgraded.

options
BatchUpgradeOptions

A BatchUpgradeOptions object that specifies the options that will be applied to the packages during the upgrade process.

events
IDTSEvents

An IDTSEvents object.

Returns

An UpgradeResult object that specifies the result of upgrading one or more packages.

Applies to