Partilhar via


Propriedade do RDL Version

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
Public Overridable ReadOnly Property Version As Integer
    Get
'Uso
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

Valor da propriedade

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

Comentários

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.