ForEachItemsEnumerator.Reset Method

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

命名空间: Microsoft.SqlServer.Dts.Runtime.Enumerators.Item
程序集: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

语法

声明
Public Sub Reset
public void Reset ()
public:
virtual void Reset () sealed
public final void Reset ()
public final function Reset ()

备注

An enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying, or deleting elements, the enumerator is irrecoverably invalidated and the next call to MoveNext or Reset throws an exception.

线程安全

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

ForEachItemsEnumerator Class
ForEachItemsEnumerator Members
Microsoft.SqlServer.Dts.Runtime.Enumerators.Item Namespace