IDTSPackageVersionUpdate100.UpdateVersion Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the version of the package.
public:
void UpdateVersion(int PackageVersion, int TargetVersion, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSInfoEvents100 ^ Events, [Runtime::InteropServices::Out] System::String ^ % XmlDocument, System::String ^ PackagePassword, Microsoft::SqlServer::Dts::Runtime::Wrapper::DTS_PACKAGE_UPGRADE_OPTIONS packageUpgradeVersion);
[System.Runtime.InteropServices.DispId(0)]
public void UpdateVersion (int PackageVersion, int TargetVersion, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 Events, out string XmlDocument, string PackagePassword, Microsoft.SqlServer.Dts.Runtime.Wrapper.DTS_PACKAGE_UPGRADE_OPTIONS packageUpgradeVersion);
[<System.Runtime.InteropServices.DispId(0)>]
abstract member UpdateVersion : int * int * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 * string * string * Microsoft.SqlServer.Dts.Runtime.Wrapper.DTS_PACKAGE_UPGRADE_OPTIONS -> unit
Public Sub UpdateVersion (PackageVersion As Integer, TargetVersion As Integer, Events As IDTSInfoEvents100, ByRef XmlDocument As String, PackagePassword As String, packageUpgradeVersion As DTS_PACKAGE_UPGRADE_OPTIONS)
Parameters
- PackageVersion
- Int32
The version of the package.
- TargetVersion
- Int32
The target version for the package to update.
- Events
- IDTSInfoEvents100
An object that implements the IDTSInfoEvents100 interface to raise errors, warning, or informational events.
- XmlDocument
- String
An XML document of the version update.
- PackagePassword
- String
The password of the package.
- packageUpgradeVersion
- DTS_PACKAGE_UPGRADE_OPTIONS
The upgrade version of the package.
- Attributes