OperationState: The domain membership role change status of the computer, as specified by a enumeration. DSROLE_OPERATION_STATE The DSROLE_OPERATION_STATE enumeration specifies values that determine whether a or 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. DSROLE_UPGRADE_STATUS_INFO The DSROLE_UPGRADE_STATUS_INFO structure contains information about the status of a pending , if any, for the computer. This structure is intended to store only the status of an operating system upgrade of a . 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 An upgrade is currently in progress. 0x00000004 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). DSROLE_SERVER_STATE The DSROLE_SERVER_STATE enumeration specifies the role of the computer prior to the upgrade. typedef enum _DSROLE_SERVER_STATE { DsRoleServerUnknown = 0,
OperationState: The domain membership role change status of the computer, as specified by a enumeration. DSROLE_OPERATION_STATE The DSROLE_OPERATION_STATE enumeration specifies values that determine whether a or 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. DSROLE_UPGRADE_STATUS_INFO The DSROLE_UPGRADE_STATUS_INFO structure contains information about the status of a pending , if any, for the computer. This structure is intended to store only the status of an operating system upgrade of a . 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). DSROLE_SERVER_STATE The DSROLE_SERVER_STATE enumeration specifies the role of the computer prior to the upgrade. typedef enum _DSROLE_SERVER_STATE { DsRoleServerUnknown = 0,
%5BMS-DSSP%5D-170915.docx