DSROLE_UPGRADE_STATUS_INFO structure (dsrole.h)

The DSROLE_UPGRADE_STATUS_INFO structure is used with the DsRoleGetPrimaryDomainInformation function to contain domain upgrade status data.

Syntax

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

Members

OperationState

Specifies the current state of the upgrade. This member can be one of the following values.

0

An upgrade is not in progress.

DSROLE_UPGRADE_IN_PROGRESS

An upgrade is in progress.

PreviousServerState

If an upgrade is in progress, this member contains one of the DSROLE_SERVER_STATE values that indicate the previous role of the server.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header dsrole.h

See also

Directory Service Structures

DsRoleGetPrimaryDomainInformation