Version 属性

Returns the version number of the package. This property is read-only.

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public Overridable ReadOnly Property Version As Integer
    Get
用法
Dim instance As ForEachEnumerator
Dim value As Integer

value = instance.Version
public virtual int Version { get; }
public:
virtual property int Version {
    int get ();
}
abstract Version : int
override Version : int
function get Version () : int

属性值

类型:System. . :: . .Int32
An Integer that contains the package version number.

注释

The version in the package is reviewed, and if the version number is less than the current version in the runtime, the package XML is replaced with the new, updated package XML.