EAEditionTypes

The EAEditionTypes enumeration identifies the current level of licensed functionality available.

     EAEditionTypes theEdition = theRepository.GetEAEdition();

     if (theEdition == EAEditionTypes.piDesktop)

     ...

     else if (theEdition == EAEditionTypes.piProfessional)

    ...

The enumeration defines these formal values:

  • piLite
  • piDesktop
  • piProfessional
  • piCorporate
  • piBusiness
  • piSystemEng
  • piUltimate

There is no separate value for the trial edition; the Repository.GetEAEdition() function returns the appropriate EAEditionTypes value for whichever edition the user has selected to trial.