<div class="content" name="RRasAdminConnectionRemoveQuarantine" uuid="30a29384-99b1-43df-bc67-554d5121c555"><p>The <b>RRasAdminConnectionRemoveQuarantine</b> method<a id="Appendix_A_Target_314"></a><a aria-label="Product behavior note 314" href="3bb906f0-b077-47ab-ad11-d8d807afde26#Appendix_A_314" data-linktype="relative-path">&lt;314&gt;</a> removes quarantine <a href="fc2dfae9-0d04-4e1d-97c9-c51c2dc06c3b#gt_ffbe7b55-8e84-4f41-a18d-fc29191a4cda" data-linktype="relative-path">filters</a> on a dialed-in RRAS
client if the filters were applied as a result of Internet Authentication
Service (IAS) policies. This function does not remove the IPv6 quarantine
filters. The <i>hDimServer</i> handle specifies the RRASM server on which the
call is to be executed.<a id="Appendix_A_Target_315"></a><a aria-label="Product behavior note 315" href="3bb906f0-b077-47ab-ad11-d8d807afde26#Appendix_A_315" data-linktype="relative-path">&lt;315&gt;</a> </p><dl>
<dd>
<div><pre> DWORD RRasAdminConnectionRemoveQuarantine(
   [in] DIM_HANDLE hDimServer,
   [in] DWORD hRasConnection,
   [in] BOOL fIsIpAddress
 );
</pre></div>
</dd></dl><p><b>hDimServer: </b>A handle to the RRAS server where
the call is to be executed, see section <a href="1f8cdbcc-9791-4a35-ad78-878b8d110e15" data-linktype="relative-path">3.1.3</a>.</p><p><b>hRasConnection: </b>This is of type <b>DWORD</b>
and SHOULD be set to a particular connection identifier for which the
connection information is required. Obtain this handle by calling <a href="023913fc-f438-47c9-a52b-6e45e0190c6c" data-linktype="relative-path"><b>RRasAdminConnectionEnum (section 3.1.4.2)</b></a>.
Since the RRASM server does not maintain the connection handles, the RRAS
server SHOULD check and ensure that this handle is a valid connection handle. </p><dl>
<dd>
<p>Alternatively, this parameter specifies the IP
address of the RRAS client for which to remove the quarantine filter. The IP
address MUST be specified as a <b>DWORD</b> in <a href="fc2dfae9-0d04-4e1d-97c9-c51c2dc06c3b#gt_502de58c-ffc0-4dda-8fcb-b152b2c31fba" data-linktype="relative-path">network byte order</a>. Obtain
the IP address by calling <b>RRasAdminConnectionEnum</b>. If this parameter
specifies an IP address, the <i>fIsIpAddress</i> parameter MUST specify a TRUE
value. </p>
</dd></dl><p><b>fIsIpAddress: </b>Specifies a Boolean value that
indicates whether the <i>hRasConnection</i> parameter specifies the IP address
of the client for which to remove the quarantine filters. If this parameter is
a TRUE value, <i>hRasConnection</i> specifies an IP address. Otherwise, <i>hRasConnection</i>
specifies a handle to a connection.</p><p><b>Return Values: </b>A 32-bit, unsigned integer value
that indicates return status. A return value of ERROR_SUCCESS (0x00000000)
indicates that the operation was completed successfully; otherwise, it contains
an error code, as specified in <a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a>
or in section <a href="5c0c991a-0d3d-4fe5-9503-5128d0d49fe1" data-linktype="relative-path">2.2.4</a>.
All values that are not in the table that follows MUST be treated the same by
the RRASM client. </p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Return value/code</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>ERROR_SUCCESS 0x00000000</td>
  <td>The call was successful.</td>
 </tr><tr>
  <td>ERROR_ACCESS_DENIED 0x00000005</td>
  <td>The calling application does not have sufficient privileges.</td>
 </tr></tbody></table>
</dd></dl><p>The opnum field value for this method is 42.</p><p>When processing this call, the RRASM server MUST do the
following:</p><ul><li><p><span><span> 
</span></span>Validate, as specified in section <a href="9373431f-ed29-4639-9f8b-743267c9f9b6" data-linktype="relative-path">2.1.1.1</a>, whether this
method was called by a client that is a member of the &#34;Administrator
Group&#34;. If not, then return error ERROR_ACCESS_DENIED (0x00000005).</p>
</li><li><p><span><span> 
</span></span>Call the abstract interface <b>Invoke DIMSVC</b> method
specifying the operation and the parameters to enable RRAS server to perform
the required management task.</p>
</li><li><p><span><span> 
</span></span>Return any error the RRAS server returns while processing the
request. Otherwise return ERROR_SUCCESS (0x00000000).</p>
</li></ul><p>No exceptions are thrown beyond those thrown by the
underlying RPC protocol <a href="../ms-rpce/290c38b1-92fe-4229-91e6-4fc376610c15" data-linktype="relative-path">[MS-RPCE]</a>.</p></div>