<div class="content"><p>The GetActionRunLimitInterval method returns the <a href="8bdd5d2f-98b8-49b6-98e1-e1230a5d9830" data-linktype="relative-path">Run limit interval</a> for
actions that are configured to use the <b>general setting&#39;s</b> Run limit
interval.</p><dl>
<dd>
<div><pre> [id(FSRM_DISPID_SETTING | 0x03)] HRESULT GetActionRunLimitInterval(
   [in] FsrmActionType actionType,
   [out, retval] long* delayTimeMinutes
 );
</pre></div>
</dd></dl><p><b>actionType: </b>Contains the <b>action type</b> to
return the Run limit interval for.</p><p><b>delayTimeMinutes: </b>Pointer to a variable that
upon completion contains the Run limit interval for the specified <b>action
type</b>.</p><p><b>Return Values: </b>The method MUST return zero on
success, or a nonzero error code on failure.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Return value/code</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>0x80070057</p>
  <p>E_INVALIDARG</p>
  </td>
  <td>
  <p>This code is returned for the following reasons:</p>
  <ul><li><p><span><span>  
  </span></span><span>The <i>actionType</i> parameter
  is not a valid type. If <i>actionType</i> is FsrmActionType_Unknown, the
  parameter MUST be considered an invalid value.</span></p>
  </li><li><p><span><span>  
  </span></span><span>The <i>delayTimeMinutes</i>
  parameter is NULL.</span></p>
  </li></ul></td>
 </tr></tbody></table>
</dd></dl><p>Upon receiving this message, the server MUST validate
parameters:</p><ul><li><p><span><span> 
</span></span>Verify that <i>actionType</i> is a valid <a href="0399ffcc-f04b-4dd9-bde7-c336e58eb8d4" data-linktype="relative-path">FsrmActionType (section 2.2.1.2.9)</a>
value. If the <i>actionType</i> is <b>FsrmActionType_Unknown</b>, the parameter
MUST be considered an invalid value.</p>
</li><li><p><span><span> 
</span></span>Verify that <i>delayTimeMinutes</i> is not NULL.</p>
</li></ul><p>If any validation fails, the server MUST terminate processing
and return a nonzero error code.</p><p>Upon successful validation of parameters, the server MUST
perform the following actions or return a nonzero error code.</p><ul><li><p><span><span> 
</span></span>Verify that Run limit interval is present for <i>actionType</i>.<a id="Appendix_A_Target_55"></a><a aria-label="Product behavior note 55" href="1cc8408c-3c9b-4510-9585-e4a8d0d40e27#Appendix_A_55" data-linktype="relative-path">&lt;55&gt;</a></p>
</li></ul><p>The server MUST set <i>delayTimeMinutes</i> to the <b>general
setting&#39;s</b> Run limit interval for the specified <b>action type </b>or return
a nonzero error code.</p></div>