Condividi tramite


PkgVariableEnumerator.Reset Method

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

Spazio dei nomi: Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly : Microsoft.SqlServer.Exec80PackageTask (in microsoft.sqlserver.exec80packagetask.dll)

Sintassi

'Dichiarazione
Public Sub Reset
public void Reset ()
public:
virtual void Reset () sealed
public final void Reset ()
public final function Reset ()

Osservazioni

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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