# StatusQueryOptions

> Options for querying the version control system status of a file.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public enum StatusQueryOptions
```

## Remarks

Additional Resources: [AssetDatabase.IsOpenForEdit](/engine/6000.5/script-reference/unityeditor/assetdatabase/isopenforedit.md), [AssetDatabase.IsMetaFileOpenForEdit](/engine/6000.5/script-reference/unityeditor/assetdatabase/ismetafileopenforedit.md).

## Fields

| Value                                                                                                        | Description                                                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ForceUpdate](/engine/6000.5/script-reference/unityeditor/statusqueryoptions/forceupdate.md)                 | Force a refresh of the version control system status of the file. This is slow but accurate.                                                                        |
| [UseCachedAsync](/engine/6000.5/script-reference/unityeditor/statusqueryoptions/usecachedasync.md)           | This option sets the status query to first use the latest valid version control system status of the file and query for a valid status asynchronously if otherwise. |
| [UseCachedIfPossible](/engine/6000.5/script-reference/unityeditor/statusqueryoptions/usecachedifpossible.md) | This option sets the status query to first use the latest valid version control system status of the file and query for a valid status synchronously if otherwise.  |
