Jaa


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
public void Reset ()
public:
virtual void Reset () sealed
public final void Reset ()
public final function 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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

PkgVariableEnumerator Class
PkgVariableEnumerator Members
Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask Namespace