2.2.4 DSROLE_OPERATION_STATE
The DSROLE_OPERATION_STATE enumeration specifies values that determine whether a DC promotion or demotion operation is currently being performed on a computer.<4>
-
typedef enum _DSROLE_OPERATION_STATE { DsRoleOperationIdle = 0, DsRoleOperationActive, DsRoleOperationNeedReboot } DSROLE_OPERATION_STATE;
DsRoleOperationIdle: No promotion or demotion operation is currently being performed on the computer.
DsRoleOperationActive: A promotion or demotion operation is in progress.
DsRoleOperationNeedReboot: A promotion or demotion operation has been performed. The computer MUST be restarted to function in the new role.