DSROLE_SERVER_STATE enumeration (dsrole.h)

The DSROLE_SERVER_STATE enumeration is used with the DSROLE_UPGRADE_STATUS_INFO structure to indicate the role of a server.

Syntax

typedef enum _DSROLE_SERVER_STATE {
  DsRoleServerUnknown = 0,
  DsRoleServerPrimary,
  DsRoleServerBackup
} DSROLE_SERVER_STATE, *PDSROLE_SERVER_STATE;

Constants

 
DsRoleServerUnknown
Value: 0
The server role is unknown.
DsRoleServerPrimary
The server was, or is, a primary domain controller.
DsRoleServerBackup
The server was, or is, a backup domain controller.

Requirements

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

See also

DSROLE_UPGRADE_STATUS_INFO

Enumerations in Active Directory Domain Services