UpgradePackageInfo 类

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

继承层次结构

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

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public Class UpgradePackageInfo
用法
Dim instance As UpgradePackageInfo
public class UpgradePackageInfo
public ref class UpgradePackageInfo
type UpgradePackageInfo =  class end
public class UpgradePackageInfo

UpgradePackageInfo 类型公开以下成员。

构造函数

  名称 说明
公共方法 UpgradePackageInfo() () () () Initializes a new instance of the UpgradePackageInfo class.
公共方法 UpgradePackageInfo(String, String, String) Initializes a new instance of the UpgradePackageInfo class.

页首

属性

  名称 说明
公共属性 HasNewName Gets a value that specifies whether the upgraded Integration Services package has been renamed.
公共属性 HasPassword Gets a value that specifies whether an upgraded Integration Services package is password protected.
公共属性 Name Gets the original name and path for the upgraded Integration Services package.
公共属性 NewName Gets the new name and path for the upgraded Integration Services package.
公共属性 PackagePassword Gets the password that is required to decrypt an upgraded Integration Services package that is encrypted with a password.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

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

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。