# ExtDBRefreshType

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.ExtDBRefreshType/

External database refresh type enumeration.

- **Full name:** `MFiles.ExtDBRefreshType`
- **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-EXT_DBREFRESH_TYPE_NONE"></a>`EXT_DBREFRESH_TYPE_NONE` | 0 | No need to refresh data from external database. |
| <a id="v-EXT_DBREFRESH_TYPE_QUICK"></a>`EXT_DBREFRESH_TYPE_QUICK` | 1 | Quick refresh from external database requested. |
| <a id="v-EXT_DBREFRESH_TYPE_FULL"></a>`EXT_DBREFRESH_TYPE_FULL` | 2 | Full refresh from external database requested. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCObjectTypes.RefreshExternalObjectType](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypes/RefreshExternalObjectType/index.md): Refreshes the items of an external object type or value list from its external database now.
- [IRPCValueLists.GetValueListItemsWithPermissions](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCValueLists/GetValueListItemsWithPermissions/index.md): Gets the items of one value list or object type, or only the changes since a known version.
- [IRPCValueLists.SearchValueListItemsWithPermissions](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCValueLists/SearchValueListItemsWithPermissions/index.md): Searches the items of one value list or object type by item ID, name, owner, parent or deleted state.

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

## Used in fields

- [`LookupItemRequest.external_data_source_refresh`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.LookupItemRequest/index.md#f-external_data_source_refresh): For a list connected to an external database: whether to refresh it from the database before the read. `EXT_DBREFRESH_TYPE_NONE` reads the items the vault already has.
- [`RefreshExternalObjectTypeRequest.ext_dbrefresh_type`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypes/RefreshExternalObjectType/index.md#request): `EXT_DBREFRESH_TYPE_QUICK` or `EXT_DBREFRESH_TYPE_FULL`.
- [`GetValueListItemsWithPermissionsRequest.external_data_source_refresh`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCValueLists/GetValueListItemsWithPermissions/index.md#request): For a list connected to an external database: whether to refresh it from the database first.
- [`SearchValueListItemsWithPermissionsRequest.external_data_source_refresh`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCValueLists/SearchValueListItemsWithPermissions/index.md#request): For a list connected to an external database: whether to refresh it from the database before the search. `EXT_DBREFRESH_TYPE_NONE` reads the items the vault already has.
