# TriStateBoolean

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.TriStateBoolean/

Definition for a three-state boolean

- **Full name:** `MFiles.TriStateBoolean`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-TRI_STATE_BOOLEAN_UNDEFINED"></a>`TRI_STATE_BOOLEAN_UNDEFINED` | 0 | The value has not been defined. |
| <a id="v-TRI_STATE_BOOLEAN_FALSE"></a>`TRI_STATE_BOOLEAN_FALSE` | 1 | The value is "false". |
| <a id="v-TRI_STATE_BOOLEAN_TRUE"></a>`TRI_STATE_BOOLEAN_TRUE` | 2 | The value is "true". |

<a id="used-in-fields"></a>

## Used in fields

- [`ServerHealthResult.vault_refresh_from_one_db_succeeded`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ServerHealthResult/index.md#f-vault_refresh_from_one_db_succeeded): True, if a refresh from One DB has been successfully made. Undefined, if One DB is not enabled for the server.
- [`ServerHealthResult.online_state_transition_finished_for_all_vaults_succeeded`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ServerHealthResult/index.md#f-online_state_transition_finished_for_all_vaults_succeeded): True, if all the vaults have finished the online transition.
- [`ServerHealthResult.all_vaults_in_correct_end_state_succeeded`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ServerHealthResult/index.md#f-all_vaults_in_correct_end_state_succeeded): True, if all the vaults are in correct end state.
