<div class="content" name="Skip" uuid="92247c9a-b105-4fdf-a02c-145cfb84444e"><p> The Skip method skips a specified number of objects in the
enumeration. </p><dl>
<dd>
<div><pre> [helpstring(&#34;method Skip&#34;)] HRESULT Skip(
   [in] unsigned long celt
 );
</pre></div>
</dd></dl><p><b>celt: </b>The number of objects to skip.</p><p><b>Return Values: </b>The method MUST return zero or
a non-error <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_799103ab-b3cb-4eab-8c55-322821b2b235" data-linktype="relative-path">HRESULT</a> (as
specified in <a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a>)
to indicate success or return an implementation-specific nonzero error code to
indicate failure. For the HRESULT values predefined by the Virtual Disk Service
Remote Protocol, see section <a href="5102cc53-3143-4268-ba4c-6ea39e999ab4" data-linktype="relative-path">2.2.3</a>.</p><dl>
<dd>
<p>If S_FALSE is returned, the enumeration has ended
and the client MUST either stop enumerating or reset the enumeration back to
the beginning.</p>
</dd></dl><p>When the server receives this message, it MUST perform the
following:</p><ul><li><p><span><span> 
</span></span>If the number of objects from the current index to the end of the
enumeration is greater than or equal to the number in <i>celt</i>, increment
the current index by <i>celt</i> and return an HRESULT that indicates failure
or success.</p>
</li><li><p><span><span> 
</span></span>If the number of objects from the current index to the end of the
enumeration is less than the number of objects that <i>celt</i> requested,
increment the current index by the number of objects from the current index to
the end of the enumeration and return S_FALSE (HRESULT of 0x00000001) if
successful.</p>
</li><li><p><span><span> 
</span></span>If the current index is already past the list of objects in the
enumeration, return S_FALSE (HRESULT of 0x00000001) if successful.</p>
</li></ul></div>