共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Runtime 命名空間