Compartir a través de


3.1.2.3 Reset (Opnum 5)

The Reset method is used to reset the enumeration sequence to the beginning of the collection.

 HRESULT Reset();

This method has no parameters.

Return Values: The method MUST return zero when it has succeeded or an implementation-specific nonzero error code on failure.

No exceptions are thrown except those that are thrown by the underlying RPC protocol [MS-RPCE].

The server MUST update an internal cursor variable so that a subsequent call to Next begins to retrieve objects that start at the beginning of the collection.