<div class="content" name="NetrDfsManagerGetVersion" uuid="fe351463-3227-4df3-b3bb-4be976bd09fc"><p>The NetrDfsManagerGetVersion method returns the version
number of the <a href="a9bc4403-a862-48b9-b99b-1b44a887d177#gt_3de8e640-501a-4b25-80a7-0ba769f3c0b9" data-linktype="relative-path">DFS server</a>
in use on the server. </p><p>The NetrDfsManagerGetVersion method has the following <a href="a9bc4403-a862-48b9-b99b-1b44a887d177#gt_9c5903c1-1477-4181-b451-3ba1e34a0c0c" data-linktype="relative-path">MIDL</a> syntax.</p><dl>
<dd>
<div><pre> DWORD NetrDfsManagerGetVersion();
</pre></div>
</dd></dl><p>This method has no parameters.</p><p><b>Return Values: </b>This method MUST return one of
the following values.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Return value</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>0x00000001</td>
  <td>The server MUST support stand-alone DFS namespaces and opnums from 0 through 5, inclusive. The server MAY support domain-based DFS namespaces and other opnums.</td>
 </tr><tr>
  <td>0x00000002</td>
  <td>In addition to the preceding, the server MUST support domainv1-based DFS namespaces and opnums 10 through 22, inclusive. The server MAY support hosting more than one DFS namespace on the same server.</td>
 </tr><tr>
  <td>0x00000004</td>
  <td>In addition to the preceding, the server MUST support hosting more than one DFS namespace on the same server and Level parameter value 200 of the NetrDfsEnumEx method. It SHOULD support opnum 6.</td>
 </tr><tr>
  <td>0x00000006</td>
  <td>In addition to the preceding, the server MUST support domainv2-based DFS namespace and opnums 23 through 25, inclusive.</td>
 </tr></tbody></table>
</dd></dl><p>The clients MAY use the version information to determine the
<a href="a9bc4403-a862-48b9-b99b-1b44a887d177#gt_8a7f6700-8311-45bc-af10-82e10accd331" data-linktype="relative-path">RPC</a> methods that the DFS
server supports.<a id="Appendix_A_Target_37"></a><a aria-label="Product behavior note 37" href="3a466440-1ef6-4439-b4e2-be9eaddeb511#Appendix_A_37" data-linktype="relative-path">&lt;37&gt;</a><a id="Appendix_A_Target_38"></a><a aria-label="Product behavior note 38" href="3a466440-1ef6-4439-b4e2-be9eaddeb511#Appendix_A_38" data-linktype="relative-path">&lt;38&gt;</a><a id="Appendix_A_Target_39"></a><a aria-label="Product behavior note 39" href="3a466440-1ef6-4439-b4e2-be9eaddeb511#Appendix_A_39" data-linktype="relative-path">&lt;39&gt;</a><a id="Appendix_A_Target_40"></a><a aria-label="Product behavior note 40" href="3a466440-1ef6-4439-b4e2-be9eaddeb511#Appendix_A_40" data-linktype="relative-path">&lt;40&gt;</a><a id="Appendix_A_Target_41"></a><a aria-label="Product behavior note 41" href="3a466440-1ef6-4439-b4e2-be9eaddeb511#Appendix_A_41" data-linktype="relative-path">&lt;41&gt;</a></p></div>