Partager via


2.2.5 DSROLE_UPGRADE_STATUS_INFO

The DSROLE_UPGRADE_STATUS_INFO structure contains information about the status of a pending operating system upgrade, if any, for the computer. This structure is intended to store only the status of an operating system upgrade of a legacy domain controller.

 typedef struct _DSROLE_UPGRADE_STATUS_INFO {
   unsigned __int32 OperationState;
   DSROLE_SERVER_STATE PreviousServerState;
 } DSROLE_UPGRADE_STATUS_INFO,
  *PDSROLE_UPGRADE_STATUS_INFO;

OperationState: The current status of the upgrade. Valid values are shown in the following table.<5>

Value

Meaning

0x00000000

No upgrade is currently in progress.

DSROLE_UPGRADE_IN_PROGRESS

0x00000004

An upgrade is currently in progress.

PreviousServerState: 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 OperationState member is set to DSROLE_UPGRADE_IN_PROGRESS).