Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Updates the version of the package.
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
- PackageVersion
Type: System.Int32
The version of the package.
- TargetVersion
Type: System.Int32
The target version for the package to update.
- Events
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100
An object that implements the IDTSInfoEvents100 interface to raise errors, warning, or informational events.
- XmlDocument
Type: System.String%
An XML document of the version update.
- PackagePassword
Type: System.String
The password of the package.
- packageUpgradeVersion
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.DTS_PACKAGE_UPGRADE_OPTIONS
The upgrade version of the package.