UpdateVersion 方法
此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。
命名空間: 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