共用方式為


UpgradePackageInfo 建構 (String, String, String)

Initializes a new instance of the UpgradePackageInfo class.

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Sub New ( _
    name As String, _
    newName As String, _
    password As String _
)
'用途
Dim name As String
Dim newName As String
Dim password As String

Dim instance As New UpgradePackageInfo(name, newName, _
    password)
public UpgradePackageInfo(
    string name,
    string newName,
    string password
)
public:
UpgradePackageInfo(
    String^ name, 
    String^ newName, 
    String^ password
)
new : 
        name:string * 
        newName:string * 
        password:string -> UpgradePackageInfo
public function UpgradePackageInfo(
    name : String, 
    newName : String, 
    password : String
)

參數

  • name
    型別:System. . :: . .String
    The original name and the full path of the Integration Services package to be upgraded.
  • password
    型別:System. . :: . .String
    The password that is used to decrypt a package that is encrypted with a password.

備註

If the password parameter value is not specified, the PackagePassword property is used to set the package password.