<div class="content"><p> </p><p>When the IEnumWbemClassObject::Reset method is invoked, the
server MUST reset the enumeration sequence to the beginning of the collection
of <span><a href="6837a7cb-ba2d-46b1-802c-fce2fd5a6ad6#gt_8d8f4b2c-bf33-4964-b55c-96ac2cc999bb" data-linktype="relative-path">CIM
objects</a></span>.</p><dl>
<dd>
<div><pre> HRESULT Reset();
</pre></div>
</dd></dl><p>This method has no parameters.</p><p><b>Return Values: </b>This method MUST return an
HRESULT value that MUST indicate the status of the method call. The server MUST
return WBEM_S_NO_ERROR (specified in section <span><a href="a2899649-a5a3-4b13-9ffa-d8394dcdac63" data-linktype="relative-path">2.2.11</a></span>) to indicate
the successful completion of the method. If the IEnumWbemClassObject::Reset
method is invoked on an enumerator that does not support reset capability, the
server MUST return WBEM_E_INVALID_OPERATION.</p><dl>
<dd>
<p><b>WBEM_S_NO_ERROR</b> (0x00)</p>
</dd></dl><p>The server MUST locate the entry in <b>EnumWbemClassObjectTable</b>
with <b>EnumWbemClassObjectPointer</b> matching <span><a href="56022f1e-3761-4c17-8d55-8e62dc334b86" data-linktype="relative-path">IEnumWbemClassObject</a></span>.</p><p>The server MUST validate that the <span><a href="6837a7cb-ba2d-46b1-802c-fce2fd5a6ad6#gt_f3ef2572-95cf-4c5c-b3c9-551fd648f409" data-linktype="relative-path">security principal</a></span>
that makes the call is the same as the <b>ClientSecurityContext</b> of the <b>SemiSinkResultSetObject</b>
pointed to by the entry in the <b>EnumWbemClassObjectTable</b>; otherwise,
WBEM_E_ACCESS_DENIED MUST be returned.</p><p>In response to the IEnumWbemClassObject::Reset method, the
server MUST reset the status of the enumeration (as specified in this section)
if the enumerator is not created by using WBEM_FLAG_FORWARD_ONLY by setting the
CurrentIndex entry in <b>EnumWbemClassObjectTable</b> to start the index of <b>ResultArray</b>.</p><p>If the enumerator is created by using
WBEM_FLAG_FORWARD_ONLY, the server MUST return WBEM_E_INVALID_OPERATION.</p><p>A successful method execution MUST return WBEM_S_NO_ERROR.</p><p>A failed method execution MUST return an error in the format
that is specified in section 2.2.11.</p></div>