Partager via


Version propriété

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (dans Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public Overridable ReadOnly Property Version As Integer
    Get
'Utilisation
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

Valeur de la propriété

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

Notes

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.