# DataQueryOptions Class

> DataQueryOptions class in the TX Sheet Control .NET API: Reusable query timeout/cache policy; caching is disabled by default.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Namespace:** `TXTextControl.TXSheetControl.Data`
- **Package:** `TXTextControl.TXSheetControl.Server` (assembly `TXTextControl.TXSheetControl.Data.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Implements:** `System.IEquatable<TXTextControl.TXSheetControl.Data.DataQueryOptions>`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Data > DataQueryOptions Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/dataqueryoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/dataqueryoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/dataqueryoptions/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/dataqueryoptions/#syntax)
- [Members](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/dataqueryoptions/#members)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/dataqueryoptions/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/dataqueryoptions/#see-also)

---

## In This Section

- [DataQueryOptions.BypassCache Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/dataqueryoptions/bypasscache-property/llms.txt): DataQueryOptions.BypassCache property in the TX Sheet Control .NET API: Forces a fresh query, updating the cache only after success.
- [DataQueryOptions.CacheDuration Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/dataqueryoptions/cacheduration-property/llms.txt): DataQueryOptions.CacheDuration property in the TX Sheet Control .NET API: Cache TTL from query completion, zero to disable, at most one hour.
- [DataQueryOptions.CacheScope Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/dataqueryoptions/cachescope-property/llms.txt): DataQueryOptions.CacheScope property in the TX Sheet Control .NET API: Required for caching. Host-supplied authorization/tenant scope.
- [DataQueryOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/dataqueryoptions/constructor/llms.txt): DataQueryOptions constructor in the TX Sheet Control .NET API, with its syntax, a C# example and remarks on awaiting tasks and handles.
- [DataQueryOptions.Timeout Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/dataqueryoptions/timeout-property/llms.txt): DataQueryOptions.Timeout property in the TX Sheet Control .NET API: Complete query deadline, greater than zero and at most five minutes. Default 30 seconds.

---

## Nearby

- **Previous:** [TXTextControl.TXSheetControl.Data Namespace](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/llms.txt)
- **Next:** [DataQueryOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/dataqueryoptions/constructor/llms.txt)
