Condividi tramite


Proprietà Version

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public Overridable ReadOnly Property Version As Integer
    Get
'Utilizzo
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

Valore proprietà

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

Osservazioni

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.