<div class="content"><p>The IsInstalledRemote method determines if a <a href="1243ba70-74ca-44f9-be0b-dfd6697010b4#gt_7a0f4b71-23ba-434f-b781-28053ed64879" data-linktype="relative-path">certificate</a> is associated
with the specified <i>InstanceName</i>.</p><dl>
<dd>
<div><pre> [id(6)] HRESULT IsInstalledRemote(
   [out, retval] VARIANT_BOOL* retval
 );
</pre></div>
</dd></dl><p><b>retval: </b>A pointer to a <a href="../ms-oaut/7b39eb24-9d39-498a-bcd8-75c38e5823d0" data-linktype="relative-path">VARIANT_BOOL</a>.</p><p><b>Return Values: </b>A signed 32-bit value that
indicates return status. If the method returns a negative value, it failed. If
the 12-bit facility code (bits 16–27) is set to 0x007, the value contains a
Win32 error code in the lower 16 bits. Zero or positive values indicate success,
with the lower 16 bits in positive nonzero values containing warnings or flags
defined in the method implementation. For more information about Win32 error
codes and <a href="../ms-dtyp/a9046ed2-bfb2-4d56-a719-2824afce59ac" data-linktype="relative-path">HRESULT</a>
values, see <a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a>.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Return value/code</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>0x00000000</p>
  <p>S_OK</p>
  </td>
  <td>
  <p>The call was successful.</p>
  </td>
 </tr><tr>
  <td>
  <p>0x80070057</p>
  <p>E_INVALIDARG</p>
  </td>
  <td>
  <p>One or more arguments are invalid.</p>
  </td>
 </tr></tbody></table>
</dd></dl><p>The <b>opnum</b> field value for this method is 12. </p><p>When processing this call, the server MUST do the following:</p><ul><li><p><span><span> 
</span></span>If the <a href="4deea6fc-b771-4e03-a7b8-52adff24f271" data-linktype="relative-path">InstanceName
(Set)</a> method has not been called to set the web <a href="1243ba70-74ca-44f9-be0b-dfd6697010b4#gt_1623705d-a7a0-4e46-9a66-66e9ee63d961" data-linktype="relative-path">server instance</a>, return
E_INVALIDARG.</p>
</li><li><p><span><span> 
</span></span>Attempt to retrieve the certificate referenced at the specified <i>InstanceName</i>.
If the certificate can be retrieved on the target system, set <i>retval</i> to
VARIANT_TRUE. If the certificate cannot be retrieved on the target system or if
no certificate is referenced at the specified <i>InstanceName</i>, set <i>retval</i>
to VARIANT_FALSE. Return S_OK.</p>
</li></ul></div>