MiningModelCollection.Enumerator.Reset Method

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

命名空间: Microsoft.AnalysisServices.AdomdServer
程序集: msmgdsrv (in msmgdsrv.dll)

语法

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

异常

异常类型 条件
InvalidOperationException

The collection has changed, invalidating the Enumerator. For more information about this exception, see InvalidOperationException Class.

备注

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 InvalidOperationException.

线程安全

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 的硬件和软件要求。

请参阅

参考

MiningModelCollection.Enumerator Class
MiningModelCollection.Enumerator Members
Microsoft.AnalysisServices.AdomdServer Namespace