<div class="content"><p>The GetReferenceVersionVectors method gets the <a href="acefe7bd-5912-4f18-9554-b3da50a2ee44#gt_5407529a-4f36-4308-8060-63bbe7bac215" data-linktype="relative-path">version vectors</a> for all <a href="acefe7bd-5912-4f18-9554-b3da50a2ee44#gt_064adaf1-86c7-43e5-a157-b0949980181e" data-linktype="relative-path">replicated folders</a> in the
specified <a href="acefe7bd-5912-4f18-9554-b3da50a2ee44#gt_fcc139c9-86ff-4414-bc66-5f63e4465b6d" data-linktype="relative-path">replication group</a>.</p><dl>
<dd>
<div><pre> HRESULT GetReferenceVersionVectors(
   [in] GUID replicationGroupGuid,
   [out] SAFEARRAY (_VersionVectorData)* referenceVersionVectors
 );
</pre></div>
</dd></dl><p><b>replicationGroupGuid: </b>MUST be the identifier
of the replication group for which the server gets version vectors.</p><p><b>referenceVersionVectors: </b>MUST be the array of
version vectors for the replicated folders on the server. MUST be returned in
this output parameter. For more information, see section <a href="e51af1b7-4a3b-457b-8f2d-60447825e3a7" data-linktype="relative-path">2.2.1.4</a>.</p><p><b>Return Values: </b>The method MUST return zero on
success or return an implementation-specific nonzero <a href="../ms-dtyp/a9046ed2-bfb2-4d56-a719-2824afce59ac" data-linktype="relative-path">HRESULT</a>
error code, as specified in <a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a>
section <a href="../ms-erref/0642cb2f-2075-4469-918c-4441e69c548a" data-linktype="relative-path">2.1</a>,
between 0x80000000 and 0xFFFFFFFF on failure. For protocol purposes, all
nonzero values MUST be treated as equivalent failures.</p><p>Upon receiving this message, the server MUST get all version
vectors for replicated folders in the replication group with the <a href="acefe7bd-5912-4f18-9554-b3da50a2ee44#gt_f49694cc-c350-462d-ab8e-816f0103c6c1" data-linktype="relative-path">GUID</a> that is specified by <i>replicationGroupGuid</i>.
<a id="Appendix_A_Target_61"></a><a aria-label="Product behavior note 61" href="70b8d14d-a366-4156-a2ad-eedb63aec058#Appendix_A_61" data-linktype="relative-path">&lt;61&gt;</a></p><p>The server MUST save information about these version vectors
in the <i>referenceVersionVectors</i> output parameter and return zero to
indicate success. If failure, the <i>referenceVersionVectors</i> output
parameter MUST be set to contain a NULL pointer value for the SAFEARRAY and
return a failure HRESULT error code in the range (0x80000000 – 0xFFFFFFFF).</p><p>The server MUST return the response to the client. The
response MUST contain the output parameters previously described for this
method, and the status of the operation.</p></div>