<div class="content"><p>This method configures the value of a responder property on
the server.</p><dl>
<dd>
<div><pre> HRESULT SetOCSPProperty(
   [in, ref] const BSTR bstrEntryName,
   [in, ref] const VARIANT* pEntryValue
 );
</pre></div>
</dd></dl><p><b>bstrEntryName: </b>A <span><a href="05bfaf02-3616-41d8-bcb7-26432e265716" data-linktype="relative-path">BSTR</a></span> that specifies
the name of the property to set. The Unicode string value SHOULD be one of the
property name values listed in <span><a href="c8894946-8439-4285-9515-f575620cc0af" data-linktype="relative-path">ResponderProperties</a></span>.
</p><p><b>pEntryValue: </b>A pointer to <span><a href="689dfe0e-527a-47a4-a3c2-4c4cddb72ad9" data-linktype="relative-path">VARIANT</a></span>
data. </p><p>The following processing rules apply:</p><ol><li><p><span>    </span>The vt member of
the VARIANT referenced by pEntryValue SHOULD match the type specified in
section <span><a href="5d4e4cd4-7ec3-4733-9093-ece17d843a6d" data-linktype="relative-path">3.2.4.1.1</a></span> for the
property corresponding to the bstrEntryName value.<a id="Appendix_A_Target_15"></a><a aria-label="Product behavior note 15" href="ff1216b3-6fb4-4be8-b256-fb7055b1e86d#Appendix_A_15" data-linktype="relative-path">&lt;15&gt;</a></p>
</li><li><p><span>    </span>If the <b>vt</b>
member of the VARIANT referenced by <i>pEntryValue</i> is VT_EMPTY and the
server has a property configured with the same name as the value of <i>bstrEntryName</i>,
the server MUST delete the property identified by <i>bstrEntryName</i> and
return success.</p>
</li><li><p><span>    </span>If the <b>vt</b>
member of the VARIANT referenced by <i>pEntryValue</i> is VT_EMPTY and the
server does not have a property configured with the same name as the value of <i>bstrEntryName</i>,
the server MUST return an error. The error code SHOULD be 0x80070002.</p>
</li><li><p><span>    </span>If <i>bstrEntryName</i>
matches one of the properties specified in section 3.2.1.2:</p>
<ol><li><p><span>   
</span>If the server has a property configured with the same name, the server
MUST replace the existing value with the value specified in the VARIANT data
referenced by <i>pEntryValue</i>.</p>
</li><li><p><span>   
</span>If the server does not have a property configured with the same name,
the server MUST store the property and value specified in the VARIANT data
referenced by <i>pEntryValue</i> in its configuration.</p>
</li></ol></li><li><p><span>    </span>If <i>bstrEntryName</i>
is NULL or empty, the server SHOULD return the error E_INVALIDARG
(0x80000003L).</p>
</li><li><p><span>    </span>If <i>bstrEntryName</i>
is not empty and does not match one of the properties specified in section
3.2.1.2, the server SHOULD store the property and value specified in the
VARIANT data referenced by <i>pEntryValue</i> in its configuration. The values
&#34;CAEntries&#34; and &#34;AllEntries&#34; SHOULD NOT be used for
bstrEntryName because of their special treatment by the GetOCSPProperty method.</p>
</li></ol></div>