UpdateVersion 方法
此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
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 _
)
用法
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
)
参数
- PackageVersion
类型:System. . :: . .Int32
- TargetVersion
类型:System. . :: . .Int32
- XmlDocument
类型:System. . :: . .String%
- PackagePassword
类型:System. . :: . .String
- packageUpgradeVersion
类型:Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .DTS_PACKAGE_UPGRADE_OPTIONS