<div class="content" name="DSROLE_UPGRADE_STATUS_INFO" uuid="1993d35f-470a-4b3f-b286-0fb641d690d3"><p>The DSROLE_UPGRADE_STATUS_INFO structure contains information
about the status of a pending <a href="4339df3c-494b-49b4-9c60-d25526a35a0d#gt_5f20a152-dcb9-40a4-9c34-9ba11c74f8e6" data-linktype="relative-path">operating
system upgrade</a>, if any, for the computer. This structure is intended to
store only the status of an operating system upgrade of a <a href="4339df3c-494b-49b4-9c60-d25526a35a0d#gt_139e2549-b8bc-41c3-9db8-940d99c3eb57" data-linktype="relative-path">legacy domain controller</a>.</p><dl>
<dd>
<div><pre> typedef struct _DSROLE_UPGRADE_STATUS_INFO {
   unsigned __int32 OperationState;
   DSROLE_SERVER_STATE PreviousServerState;
 } DSROLE_UPGRADE_STATUS_INFO,
  *PDSROLE_UPGRADE_STATUS_INFO;
</pre></div>
</dd></dl><p><b>OperationState:</b>  The current status
of the upgrade. Valid values are shown in the following table.<a id="Appendix_A_Target_5"></a><a aria-label="Product behavior note 5" href="9eaff666-129a-486e-ba94-1193d51f5a5b#Appendix_A_5" data-linktype="relative-path">&lt;5&gt;</a></p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>0x00000000</td>
  <td>No upgrade is currently in progress.</td>
 </tr><tr>
  <td>DSROLE_UPGRADE_IN_PROGRESS 0x00000004</td>
  <td>An upgrade is currently in progress.</td>
 </tr></tbody></table>
</dd></dl><p><b>PreviousServerState:</b>  The role of
the computer prior to the upgrade. The value of this member is valid only if an
upgrade is in progress (that is, if the <b>OperationState</b> member is set to
DSROLE_UPGRADE_IN_PROGRESS).</p></div>