Sdílet prostřednictvím


IDTSPackageVersionUpdate100.UpdateVersion Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Syntax

'Declaration
Sub UpdateVersion ( _
    PackageVersion As Integer, _
    TargetVersion As Integer, _
    Events As IDTSInfoEvents100, _
    <OutAttribute> ByRef XmlDocument As String, _
    PackagePassword As String, _
    packageUpgradeVersion As DTS_PACKAGE_UPGRADE_OPTIONS _
)
'Usage
Dim instance As IDTSPackageVersionUpdate100
Dim PackageVersion As Integer
Dim TargetVersion As Integer
Dim Events As IDTSInfoEvents100
Dim XmlDocument As String
Dim PackagePassword As String
Dim packageUpgradeVersion As DTS_PACKAGE_UPGRADE_OPTIONS

instance(PackageVersion, TargetVersion, _
    Events, XmlDocument, PackagePassword, _
    packageUpgradeVersion)
void UpdateVersion(
    int PackageVersion,
    int TargetVersion,
    IDTSInfoEvents100 Events,
    out string XmlDocument,
    string PackagePassword,
    DTS_PACKAGE_UPGRADE_OPTIONS packageUpgradeVersion
)
void UpdateVersion(
    [InAttribute] int PackageVersion, 
    [InAttribute] int TargetVersion, 
    [InAttribute] IDTSInfoEvents100^ Events, 
    [InAttribute] [OutAttribute] String^% XmlDocument, 
    [InAttribute] String^ PackagePassword, 
    DTS_PACKAGE_UPGRADE_OPTIONS packageUpgradeVersion
)
abstract UpdateVersion : 
        PackageVersion:int * 
        TargetVersion:int * 
        Events:IDTSInfoEvents100 * 
        XmlDocument:string byref * 
        PackagePassword:string * 
        packageUpgradeVersion:DTS_PACKAGE_UPGRADE_OPTIONS -> unit 
function UpdateVersion(
    PackageVersion : int, 
    TargetVersion : int, 
    Events : IDTSInfoEvents100, 
    XmlDocument : String, 
    PackagePassword : String, 
    packageUpgradeVersion : DTS_PACKAGE_UPGRADE_OPTIONS
)

Parameters