Partager via


2.2.8 DSROLER_PRIMARY_DOMAIN_INFORMATION

The DSROLER_PRIMARY_DOMAIN_INFORMATION union contains one of three types of information about a computer.

 typedef 
 [switch_type(DSROLE_PRIMARY_DOMAIN_INFO_LEVEL)] 
 union _DSROLER_PRIMARY_DOMAIN_INFORMATION {
   [case(DsRolePrimaryDomainInfoBasic)] 
     DSROLER_PRIMARY_DOMAIN_INFO_BASIC DomainInfoBasic;
   [case(DsRoleUpgradeStatus)] 
     DSROLE_UPGRADE_STATUS_INFO UpgradStatusInfo;
   [case(DsRoleOperationState)] 
     DSROLE_OPERATION_STATE_INFO OperationStateInfo;
 } DSROLER_PRIMARY_DOMAIN_INFORMATION,
  *PDSROLER_PRIMARY_DOMAIN_INFORMATION;

DomainInfoBasic: Basic information about a computer. For more information, see DSROLER_PRIMARY_DOMAIN_INFO_BASIC (section 2.2.1).

UpgradStatusInfo: Information about the upgrade of the computer. For more information, see DSROLE_UPGRADE_STATUS_INFO (section 2.2.5).

OperationStateInfo: Domain membership role change status of the computer. For more information, see DSROLE_OPERATION_STATE_INFO (section 2.2.3).