UtilStates Class Methods
- Last UpdatedNov 06, 2025
- 2 minute read
For a list of all members of this type, see UtilStates members.
| Name | Description | |
|---|---|---|
![]() ![]() | AddUtilState | Overloaded. The AddUtilState() method adds a utilization state to the database. |
![]() ![]() | DeleteUtilState | The DeleteUtilState() method removes the specified utilization state from the database. |
![]() ![]() | GetAllStates | The GetAllStates() method retrieves information about all defined utilization states. This information includes the state code, which is a unique integer used to identify the utilization state; the description; and the color defined for the utilization state. |
![]() ![]() | GetStateDataFromComboBoxEntry | The GetStateDataFromComboBoxEntry() method retrieves the utilization state code and description for the specified StateData object entry from a combo box. |
![]() ![]() | PopulateComboBoxWithEntStates | The PopulateComboBoxWithEntStates() method populates the specified combo box with entity utilization state descriptions from the Util_State table. Each combo box entry is a StateData instance, so that the associated state ID is stored with each description. |
![]() ![]() | UpdateUtilState | The UpdateUtilState() method updates the data of the specified utilization state and includes a lastEditAt DateTime parameter that can be used for optimistic concurrency control. |

