Directory Services

DSROLE_SERVER_STATE

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

typedef enum 
{
  DsRoleServerUnknown, 
  DsRoleServerPrimary, 
  DsRoleServerBackup
} DSROLE_SERVER_STATE;

Values

DsRoleServerUnknown
The server role is unknown.
DsRoleServerPrimary
The server was, or is, a primary domain controller when running the previous version of Windows® NT/Windows 2000.
DsRoleServerBackup
The server was, or is, a backup domain controller.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Header: Declared in Dsrole.h.

See Also

DSROLE_UPGRADE_STATUS_INFO, Active Directory Enumerations