[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Represents a class type definition in the management pack.

Schema Hierarchy



<EnumerationValue ID=”EnumerationID.Value” Comment=”string” Accessibility=”Internal/Public” Parent=”EnumerationTypeID” Ordinal=”double”>…</EnumerationValue>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element for the EnumerationValue element.


Attribute Description


Required attribute. Represents the identity of the enumeration value.


Optional attribute. Represents commentary by the management pack author.


Required attribute. Defines the visibility of the enumeration value.


Optional attribute. Represents the enumeration value that defines the enumeration set.


Optional attribute. Represents the ordinal position of the value.

Accessibility Attribute Values

Value Description


Indicates that this enumeration value is visible to external management packs.


Indicates that external management packs cannot reference this enumeration value.

Child Elements


Parent Elements

Element Description


Contains definitions of enumeration types used to restrict the value of a class type property.


An enumeration value is either a member of an enumeration set or the definition of a set. If the enumeration value is the definition of a set, the element will not define a Parent attribute. The ID of an enumeration value that defines a set should meaningfully reflect the class type of the property or properties that implement the enumeration type. For example, if your enumeration is set of values that represent two machine states (Online, Offline) for a Microsoft.Windows.Computer class type, the ID could be something like “WindowsComputer”. To define some enumeration values that belong to the “WindowsComputer” set, you would first define two enumeration values and you might name them in the following way: WindowsComputer.Online, WindowsComputer.Offline. Then you define the Parent attribute on each on as “WindowsComputer”.

Enumeration values are also used to define Category values. For more information, see Category.


The following XML sample shows how to define enumeration type sets and members of sets within a management pack. It also shows how to define a class type property that uses the defined enumeration data type sets.

  Copy Code
  <EnumerationValue ID="Ticket" Accessibility="Public" />
  <EnumerationValue ID="Ticket.Open" Parent="Ticket"/>
  <EnumerationValue ID="Ticket.Closed" Parent="Ticket"/>

  <EnumerationValue ID="User" Accessibility="Public" />
  <EnumerationValue ID="User.Contacted" Parent="User"/>
  <EnumerationValue ID="User.Waiting" Parent="User"/>
  <EnumerationValue ID="User.NoResponse" Parent="User"/>

<ClassType ID=”TicketClass” Accessibility=”Public” Base=”System!System.Entity”>   
   <Property ID=”Id” Type=”int” Key=”true” AutoIncrement=”true”/>   
   <Property ID=”TicketStatus” Type=”enum” EnumType=”Ticket” />
   <Property ID=”UserStatus” Type=”enum” EnumType=”User”/>

See Also


Property (ClassType)

Other Resources