Platform SDK: Active Directory, ADSI, and Directory Services

DSROLE_UPGRADE_STATUS_INFO

The DSROLE_UPGRADE_STATUS_INFO structure represents domain status information.

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.
Value Meaning
0 No upgrade is currently in progress.
DSROLE_UPGRADE_IN_PROGRESS An upgrade is currently in progress.

PreviousServerState
If an upgrade is in progress, this member determines the previous role of the server. This member can be one of the following values.
Value Meaning
DsRoleServerBackup The server was a backup domain controller.
DsRoleServerPrimary The server was a primary domain controller when running the previous version of Windows NT®/Windows® 2000.
DsRoleServerUnknown The server role is unknown.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Dsrole.h.

See Also

Directory Service Structures, DsRoleGetPrimaryDomainInformation