<div class="content"><p> </p><p>The DSROLE_OPERATION_STATE enumeration specifies values that
determine whether a <span><a href="4339df3c-494b-49b4-9c60-d25526a35a0d#gt_76a05049-3531-4abd-aec8-30e19954b4bd" data-linktype="relative-path">DC</a></span> <span><a href="bad4d224-953b-4576-aa10-cbeb7eaa4457" data-linktype="relative-path">promotion</a></span>
or <span><a href="69af75e3-5b61-4c88-b732-9e774ed51616" data-linktype="relative-path">demotion</a></span>
operation is currently being performed on a computer.<a id="Appendix_A_Target_4"></a><a aria-label="Product behavior note 4" href="9eaff666-129a-486e-ba94-1193d51f5a5b#Appendix_A_4" data-linktype="relative-path">&lt;4&gt;</a></p><dl>
<dd>
<div><pre> typedef  enum _DSROLE_OPERATION_STATE
 {
   DsRoleOperationIdle = 0,
   DsRoleOperationActive,
   DsRoleOperationNeedReboot
 } DSROLE_OPERATION_STATE;
</pre></div>
</dd></dl><p><b>DsRoleOperationIdle:  </b>No promotion or demotion
operation is currently being performed on the computer.</p><p><b>DsRoleOperationActive:  </b>A promotion or
demotion operation is in progress.</p><p><b>DsRoleOperationNeedReboot:  </b>A promotion or
demotion operation has been performed. The computer MUST be restarted to
function in the new role.</p></div>