共用方式為


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.