PkgVariableEnumerator.Reset Method

Sets the enumerator to its initial position, which is before the first element in the collection.

Namespace:  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly:  Microsoft.SqlServer.Exec80PackageTask (in Microsoft.SqlServer.Exec80PackageTask.dll)

Syntax

'Declaration
Public Sub Reset
'Usage
Dim instance As PkgVariableEnumerator

instance.Reset()
public void Reset()
public:
virtual void Reset() sealed
abstract Reset : unit -> unit 
override Reset : unit -> unit 
public final function Reset()

Implements

IEnumerator.Reset()

Remarks

Reset moves the enumerator to the beginning of the collection, before the first element. After Reset, MoveNext must be called to advance the enumerator to the first element of the collection before reading the value of Current.