Contains definitions of enumeration types used to restrict the value of a class type property.
Schema
Hierarchy
Syntax
Xml |
---|
<EnumerationTypes> <EnumerationValue ID=”EnumerationID.Value” Comment=”string” Accessibility=”Internal/Public” Parent=”EnumerationTypeID” Ordinal=”double”>…</EnumerationValue> </EnumerationTypes> |
Attributes and
Elements
The following sections describe attributes, child elements, and the parent element for the EnumerationTypes element.
Attributes
None.
Child Elements
Element | Description |
---|---|
Optional element. Represents an enumeration value within an enumeration set. |
Parent Elements
Element | Description |
---|---|
Contains class type, relationship type, enumeration type, and type projection definitions. |
Example
The following XML sample shows how to define enumeration type sets within a management pack.
![]() |
|
---|---|
<EnumerationTypes> <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.TicketsOpened" Parent="User"/> <EnumerationValue ID="User.TicketsClosed" Parent="User"/> <EnumerationValue ID="User.NoTickets" Parent="User"/> </EnumerationTypes> |