Dela via


UpgradePackageInfo Constructor (String, String, String)

Initializes a new instance of the UpgradePackageInfo class.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    newName As String, _
    password As String _
)
'Usage
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
)

Parameters

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

Remarks

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