Dela via


UpgradePackageInfo Class

Stores information about an Integration Services package that is to be upgraded.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Runtime.UpgradePackageInfo

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Class UpgradePackageInfo
'Usage
Dim instance As UpgradePackageInfo
public class UpgradePackageInfo
public ref class UpgradePackageInfo
type UpgradePackageInfo =  class end
public class UpgradePackageInfo

The UpgradePackageInfo type exposes the following members.

Constructors

  Name Description
Public method UpgradePackageInfo() Initializes a new instance of the UpgradePackageInfo class.
Public method UpgradePackageInfo(String, String, String) Initializes a new instance of the UpgradePackageInfo class.

Top

Properties

  Name Description
Public property HasNewName Gets a value that specifies whether the upgraded Integration Services package has been renamed.
Public property HasPassword Gets a value that specifies whether an upgraded Integration Services package is password protected.
Public property Name Gets the original name and path for the upgraded Integration Services package.
Public property NewName Gets the new name and path for the upgraded Integration Services package.
Public property PackagePassword Gets the password that is required to decrypt an upgraded Integration Services package that is encrypted with a password.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

You pass the UpgradePackageInfo object to the Upgrade method. For a code example that demonstrates how to upgrade packages, see the Upgrade method.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.