ForEachEnumerator.Version Property

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

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

Syntax

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

Property Value

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

Remarks

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.

See Also

Reference

ForEachEnumerator Class

Microsoft.SqlServer.Dts.Runtime Namespace